Users Forum
HYRCAN Category => HYRCAN Users => Topic started by: giofed on December 14, 2024, 02:34:25 pm
-
Hello,
I think the external boundary is imported but the last point is missing.
If I duplicate the last point by hand it is a workaround.
extboundary(66.439,46.8281,67.0423,48.9291,68.7279,48.7785,75.7052,52.8456,81.1085,54.0283,82.1563,54.1646,82.1563,0,0,0,0,38.0242,12.0967,39.6882,14.5024,41.2297,39.7376,41.2297,62.7405,41.2297,63.7379,41.2297,64.0807,41.8012,65.8357,44.2272,65.8357,44.2272)
Best
Giorgio
-
Unfortunately, the DXF module, which is an external open-source program, is not very advanced. Therefore, it's essential to ensure that the CAD file you create is clean. Any duplicate objects or overlapping lines can cause issues.
Let me know if you need further clarification!
-
Hello,
I tried to define a square 1x1 m in a fresh new dxf file. So there is only a closed polyline, 4 nodes, 4 edges.
I put it in a layer named EXTRENAL.
Hyrcan imports it as extboundary(0,0,1,0,1,1,0,1) which in principle looks good, but the drawn result is a triangle, not a square.
So the dxf file import I think is ok, but the script reads 3 coordinates instead of 4.
I hope it helps
Best
Giorgio