How to polygonize points in roof ?
Closed this issue · 10 comments
derekcbr commented
Is it possible to polygonize different points in the roof by this algorithm? As a roof consists of different polygons.
aegis1980 commented
Hey. Not sure I quite understand, but don't think so. This code just
converts 2D CAD files (dxf,dwg) to Shapely geometry. Shapely a Python
library.
Your problem sounds more a 3d modeling problem? If you send me snapshot
image might be able to point in right direction ;) that sort of thing is
more my day job with coding after hours. Ha.
…On Thu, 11 Mar 2021, 2:39 am derekcbr, ***@***.***> wrote:
Is it possible to polygonize different points in the roof by this
algorithm? As a roof consists of different polygons.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAWEPAMW2XNTIKVHVBITIDTC5SBFANCNFSM4Y6BIP6Q>
.
derekcbr commented
aegis1980 commented
your u/l image didnt work...
derekcbr commented
aegis1980 commented
What r you trying to do?
Make a 3d model of roof, ie create sloped surfaces? You'll need some
height/slope info to do that.
Or just define closed 2d polygons for each facet of roof?
Is that image you sent a screenshot of a dwg/vector file? Or a raster one
(jpeg etc?)
…On Thu, 11 Mar 2021, 4:51 pm derekcbr, ***@***.***> wrote:
Please check again!
[image: roof001]
<https://user-images.githubusercontent.com/31892214/110732951-13777800-8260-11eb-889b-3db3b4f3681d.jpg>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAWEPBKDJVNSNHOVOBI3GDTDA44LANCNFSM4Y6BIP6Q>
.
derekcbr commented
aegis1980 commented
for this specific geometry (ie a one-off) or more broadly?
specific: easyish. use AutoCAD, Rhino, Sketchup ++ whatever (gimme the
file, I can do it). What format for you need for? Alternatively, the
person/architect who created the original file has te 3d info so ask her to
send it.
more broadly (as a bit code): tough, beyond my sphere of interest....but
solvable! Good luck!!
Jon
…On Thu, 11 Mar 2021 at 18:36, derekcbr ***@***.***> wrote:
I am trying to calculate the roofing areas by each polygons based on the
slope already know. It is from dwg file.
[image: roof002]
<https://user-images.githubusercontent.com/31892214/110740588-458fd680-826e-11eb-8a9e-145c602dde6e.jpg>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAWEPFUVQXYWESNDTS74PLTDBJFBANCNFSM4Y6BIP6Q>
.
derekcbr commented
Thanks! I was inspired by your project and then I use shapely.ops.polygonize(rooflines) but it only four polygons and others are invalids.geoms. The architect does not have 3D format as it is only in quoting phase.
aegis1980 commented
Sweet. Glad you've sorted it 😉
Sorry if my messages may've come across a little back-to-basics. Wasn't
100% sure what experience etc u had.
Jon
…On Thu, 11 Mar 2021, 8:00 pm derekcbr, ***@***.***> wrote:
Thanks! I was inspired by your project and then I use
shapely.ops.polygonize(rooflines) but it only four polygons and others are
invalids.geoms. The architect does not have 3D format as it is only in
quoting phase.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAWEPE4U7KTIA5ZDPNSSK3TDBTBXANCNFSM4Y6BIP6Q>
.
derekcbr commented
Thank you for the help!