|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Generate roof plugin » » » » Post: Re: Generate roof plugin |
Print at Dec 18, 2025, 6:06:08 PM |
| Posted by dorin at Apr 22, 2025, 7:03:10 AM |
|
Re: Generate roof plugin Isn't the angle a result of a calculation when the position of a point is changed? No, it is a given value and represent the plane slope. The skeleton algorithm calculate the planes intersections.When I change the position of a point, a new plane will be calculated that passes through that new edge, BUT at the same given angle. The result of intersections of planes will not always be as you want, so you will have to manually change the slope on almost all faces. This is how I finally got some sort of triangles. use triangle faces and don't try to force rectangular faces I know this and used triangulation to calculate the area of each visible face to get a total roof area.texture direction towards the lowest point. Finally that's OK even for me ![]() PS. The Terrain generator modify the vertices and the resulted object cud be used as something else (eg. an irregular roof). ---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law |
|
|
Current timezone is GMT Dec 18, 2025, 6:06:08 PM |