Bodies, sketches, profiles and their relationship
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have my addin that creates character stamps working as far as creating one stamp goes. It draws 3 sketches one is a square outer box. The second is a hex shape that mirrors the hex head of a screw ( see attached picture ). The last sketch is just a text box with the letter that goes on the stamp.
I then create profiles for each sketch, two for the letter sketch.
I then extrude the box, the box using newbodyfeatureoperation for a distance of 10mm.
I then extrude the first letter profile using joinfeatureoperation for a distance of 12mm so it shows 2mm above the extruded box.
I then extrude the hex shape using the cutfeatureoperation for a distance of 5mm so it cuts out the hex shape from the box.
I then extrude the second letter profile using the cutfeatureoperation for a distance of 8mm so it cuts into the top of the hex shape. This way you can tell what letter you are stamping while it's face down on the leather.
Now I want to put it in a loop so I can create more than one character at a time. Easy enough, I put a loop around what I have. That creates new sketches, but it doesn't create a new body. It keeps applying everything to that one body. Shouldn't the newbodyfeatureoperation create a new body?
I feel like I am doing this the hard way. How should this be done?