Defining contour for downskin sections

rasouliprs
Enthusiast

Defining contour for downskin sections

rasouliprs
Enthusiast
Enthusiast

Hello,

 

I hope you are doing well. Recently, I decided to separate the contour of the downskin from the main contour of the part in advanced toolpath utility. From what I know there are downskin, not-downskin, and the main island. But all of these are islands and the final result in my mind is two open polylines (ds section and not ds section). I would be so thankful if you could help me with how exactly I can separate the islands.

 

Regards,

Parmida

0 Likes
Reply
Accepted solutions (1)
210 Views
4 Replies
Replies (4)

robert.weitzel
Autodesk
Autodesk

Hello Parmida,

use bsIsland.borderToHatch() to get the island border as an exposure path. You may also need to apply an offset for beam compensation before that. Then use bsHatch.clipExt() to clip the exposure path with the downskin island. Then the "inside" polylines are downskin and the "outside" polylines are no-downskin.

 

Best regards,
Robert



Robert Weitzel

Principal SW Engineer

rasouliprs
Enthusiast
Enthusiast

Hi Robert,

Happy New Year, and thank you so much for your guidance. I did the same and I have faced some troubles. Imagine I have defined 3 reference layers for Downskin. So if I have a cylinder on the support structure, I expect the first 3 layers of part after support, known as Downskin contours. But this code does not know all of the contours as DS. I have attached a photo of it and will be so thankful if you help me with this problem.

Best Regards,

Parmida

0 Likes

robert.weitzel
Autodesk
Autodesk
Accepted solution

I guess you did not apply an offset to the border paths which means they are right on top of the downskin area island border. In such a situation the clip operation could find unexpected intersections. The missing parts of the polygons are simply not inside the downskin area.



Robert Weitzel

Principal SW Engineer

rasouliprs
Enthusiast
Enthusiast

Hi Robert,

 

You are right. my problem is solved.

Thank you for your help.

 

Regards,

Parmida