ArcCAM
 1-18  …  39-58  59-78  79-81

Previous
Next
 From:  Michael Gibson
11543.79 In reply to 11543.78 
Hi Len, on a cube there would be 12 individual line curves. There isn't any curve object that would have 4 line segments in it but you can get a list of the 4 lines for a face by face.getLoops();

face.getLoops() returns a list of trimming boundaries. The first loop is the outer boundary of the face. The 2nd and further loops are holes.

Each loop is an object list of edges.

So for the face of a cube when you call face.getLoops() there will be one loop, and that loop will be an object list with 4 edge curves in it.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  probotix
11543.80 In reply to 11543.79 
Awesome, thats exactly what I need! Also, having a list of the holes will simplify a ton.

>Len
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  DanC
11543.81 
As someone who mainly models in MoI, for CNC machining (and 3D printing) and has to export/import into Fusion360 (my god do I hate modelling in Fusion...) to use its CAM; this is a very interesting topic for me. Good luck with it. I'll be following along
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages:  1-18  19-38  39-58  59-78  79-81