Surface extracting Outer perimeter lines

Hello Everyone!!! I need to extract the outer line from these surfaces. has anyone has a solution for this? @Vikram_Subbaiah your comments are most welcome.

@SailishCephas ,

should be like a “fit bounding box”!


KR

Andreas

Dear Andreas,
Thanks for the ideas for fit bounding box doesn’t serve the purpose for me. I have that outer bounding box from that I am trying to get the footprint of these surfaces and group the outer lines but it is not giving the correct output. Any idea on that

@jacob.small any ideas on this?

Not sure what your goal is here, Can you elaborate on what you’re after, why you need it, and provide a data set and the graph showing what you’ve tried so far?

1 Like
  • Offset the boundaries of all component surfaces outwards by a uniform value such that surfaces overlap.
  • Create one large polysurface / solid
  • Extract the boundary
  • Offset the boundary inwards by the same value used for the uniform outward offset
3 Likes

Look: Create Floor from Mesh , Dynamo Script! - #2 by RMohareb

2 Likes

@Vikram_Subbaiah Thank you so much That helped!!!



But as you can see the surface.perimeter curves doesn’t return all the perimeter curves some are missing!!!

Thanks all for your time and solution it is really helpful!!!
Finally found a solution to connect the missing lines!!


python script

# Enable Python support and load DesignScript library
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# The inputs to this node will be stored as a list in the IN variables.

names=IN[0]
# Place your code below this line
o=[]


a=len(names)
j=0
for j in range(a-1):
    ou=[]
    ou.append(names[j])
    ou.append(names[j+1])
    j=j+1
    o.append(ou)

if j==a-1:
    oc=[]
    oc.append(names[j])
    oc.append(names[0])

o.append(oc)




# Assign your output to the OUT variable.
OUT = o