|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Generate roof plugin » » » » Post: Re: Generate roof plugin |
Print at Dec 17, 2025, 5:50:26 PM |
| Posted by dorin at Feb 24, 2022, 4:55:27 PM |
|
Re: Generate roof plugin Some few improvement in Roof work v135 1. The archive contain 2 folders and an sh3p file. -one folder with eclipse work (with a lot of aid lines) -one folder with more precise test files -one plugin file without aid code 2. I've improve 2D intersections but it is more to do 3. On last post I don't explain very clear what I intend to do: -* What is given? and what is required? * Given: a roof footprint (room) * Required: compute roof faces (3D closed polygons) - Get all information from what is given: --points, lines, lines angle, angle between lines, lines length --get user input (general roof angle) - Try to solve request: --compute offset polygons and edges in 2D --compute edges intersections in 2D --compute planes from 3 points (2 lines points and 1 point at 100cm at angle) --compute 3D intersection of 3 planes --compare intersections 3D with 2D and make 3D points lists for every face --compute 3D polygons, point-by-point, from 3D points from every face, based on indexes of planes 4. Normal users MUST use it with care!! Is not finished(yet). ---------------------------------------- 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 17, 2025, 5:50:26 PM |