|
Sweet Home 3D Forum » List all forums » » Forum: 3D models and textures » » » Thread: ROOF WINDOW / VELUX WINDOWS » » » » Post: Re: ROOF WINDOW / VELUX WINDOWS |
Print at Dec 16, 2025, 10:27:34 AM |
| Posted by Keet at Dec 5, 2022, 9:00:41 AM |
|
Re: ROOF WINDOW / VELUX WINDOWS Oh I understood how to edit and fix the issue. It's the previous message I seem to have misunderstood. I explained how I created 6 separate drawers before integrating them in a dresser base because that makes handling a single deformation easy. Your proposal to automatically renumber deformations would make that impossible because, no matter what rail number I assign to a drawer, with integration they would be renumbered, most likely NOT in the order I want them to be. So at most it would have to be optional. The order and number is particularly important when you have chained deformations. And that's the thing. I don't get strange deformation when there is just a single hinge object in the export/import. I don't get strange deformation when following your explanation either. So for me it is far simpler all round to have the application take care of ensuring multiple objects with hinges do not use the same hinge number. The most trivial way is to use a generator to spit out an incrementing number every time a hinge/rail is encountered in the export process, and use that unique number for that rail/hinge. I raised the problem as #1147, although I um'd and er'd over whether it was a bug or an enhancement. Besides that it requires very complex code to keep the correct parts to the correct hinge with renumbering. It's not only the hinges themselves, it's also important that the parts that deform to a specific hinge stay connected to that hinge. The issue you raised is more about the change of a deformation itself. In your velux window example the angle of the window probably changes the direction of the hinge. From this blog post: The axis direction of the hinge x is guessed from the largest dimension of the global bounding box of the hinge parts. Thus, if the largest dimension of a hinge is its height, the axis will be vertical, if its largest dimension is its depth the axis will be horizontal in Y direction and if its largest dimension is its width the axis will be also horizontal but in X direction. Changing the angle of the window most likely changed what the largest dimension was and thus changed the deformation direction. Exporting, importing as non-window, change angle, exporting, and importing as window could have caused that.---------------------------------------- Dodecagon.nl 1300+ 3D models, manuals, and projects |
|
|
Current timezone is GMT Dec 16, 2025, 10:27:34 AM |