AnsweredAssumed Answered

Problem using createtrimmedsheet with internal loops

Question asked by John Yu on Dec 1, 2016

Hi I am new to solidworks API and I need some help with this:

 

I have a solid body and I used modeler.getbodyoutline2 to obtain the array of curves of the outline of the body when it is projected onto a plane in a specified direction. Then I used this array of curves to create a sheet body using surface.createtrimmedsheet.

 

However, I noticed is that this does not work when there are internal holes in the outline. (The face of this sheet body will also have negative area)

 

Am I using createtrimmedsheet wrongly? Is there a proper way to create a sheet body with holes?

 

Thank you.

John

Outcomes