|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Furniture to Solid » » » » Post: Re: Furniture to Solid |
Print at Jan 20, 2026, 10:59:49 PM |
| Posted by Keet at Nov 25, 2025, 9:07:37 AM |
|
Re: Furniture to Solid ...I have only the original object without the current transformations. You should be able to get the applied transformations with the getModelTransformations method. Maybe you can use these to apply to the original object to get the transformed object.I need to apply this transformations to each ones before extract the geometry and perform the boolean operations. In my previous reply I said "...maybe twice: original and transformed." The second is the original+transformations. As in "not a transformed copy" but the original and applied transformations for display/storage. When you save a transformed object the transformations are stored in the Home.xml file (pitch (X axis), roll (Y axis), angle (rotation), widthInPlan, heightInPlan, etc) along with the original dimensions (width, depth, height) and elevation. Maybe you can trace back where/how the transformation matrix is calculated to get the property values that are stored in the Home.xml file and use the same method for your usage. (I don't have the code available at the moment so I have to use logic, the API model, and programming experience to guess at this.) ---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Jan 20, 2026, 10:59:49 PM |