Print at Dec 19, 2025, 8:24:50 AM

Posted by Keet at Feb 22, 2024, 7:24:21 AM
Re: Bug in Pan3Dview plugin with chained deformation
I haven't got a development environment yet for Java so it's very hard to look at code.
My first step would be to compare the plugin code to the code behind the Sweet Home 3D modify openings dialog. There the deformations work as they should.
Thinking from the top of my head I suspect the calculations for the deformations follow the chain af deformations, probably in an array loop where the start position and direction is recalculated for every step. It's possible that you only use the initial position and direction and don't follow the chain to get a new start position from the previous deformation in the chain.
Usually a direction is a set of X,Y,Z coordinates like they are used for textures but I don't know if that's the same for the deformations.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects