Re: Generate roof plugin

by ndorigatti » Fri Feb 18, 2022 10:23 am

Hi dorin, hi daniele, i'm not enough inside the plugin dev, but reading last dorin message I have this:

Given what the campskeleton generates, in order to generate 3d view, if you can get the "lines" that are inside the generated geometry you could "elevate" nodes inside the polygon and you have a 3d object similar to the old version of the plugin, right?

If campskeleton allows you to get all the nodes (did not see the code, but nodes are part of the maths usually), i can find those inside the polygon by using the raycasting technique (basically for each point you draw a line bigger than the polygon max size, and you check how many times it crosses the polygon, if odd is inside, if even outside).

I'm sorry I can't help on the dev part, i have small kids and never have time to use my pc when not at work :(