|
 |
On 7/25/2025 7:04 PM, Bald Eagle wrote:
> Josh English <Jos### [at] joshuarenglish com> wrote:
>> On 7/25/2025 9:16 AM, Bald Eagle wrote:
>>> Perhaps a script could be written to convert mesh and mesh2 objects to arrays,
>>> and then we can have a macro to define the mesh from those arrays.
>>
>> We would need to be able to serialize the mesh objects, though. I don't
>> know if 4.0 has any plans for that sort of thing. It would be nice to be
>> able to export them after a complicated modeling job.
>>
>> Then again, I have Python at hand and I suspect most of us know other
>> coding languages that could do the same job. I'm trying to be an SDL
>> purist, probably to my detriment.
>>
>> Josh
>
> Well, we have #read and #write.
> I've written tens of thousands of bicubic patch objects to files that way.
>
> So it shouldn't be that big of a problem to write a distorted mesh to a new
> file.
>
> - BE
>
I do that, too. I create arrays that track arrays and shove them all
into a mesh2 object. It would be nice to be able to take the created
mesh2 object and serialize instead of creating everything, writing to a
file, then importing it. But that's a high-level language thing.
I keep getting tripped up with my years of Python where everything is an
object.
Post a reply to this message
|
 |