I am creating an add-in for the cabinet making industry that will take an assembly (the cabinet) and create a second assembly which is the "layout" assembly that includes all the same parts as the initial assembly but with the parts oriented in a "layed flat" position so that they can be prepared for cutting on a CNC machine. The biggest challenge I have found is that multi-bodied parts are heavily used in the woodworking industry. What is the best technique for creating a "flattened" lay out of these parts?
I have tried:
- Create a new configuration for each part of the multi-bodied part with only one part visible and all the rest hidden. This works in theory (and I thought would be THE solution) but SW has a bug where sometimes the parts don't stay hidden. This is a known bug and SW has still not resolved it so I have been forced to abondon this technique
- Similar to 1, create a new configuration for each part of the multi-bodied part but this time use the "delete body" feature to have all bodies deleted in each configuration except one. This works, and has no bugs like option 1 but is REALLY SLOW.
- Add a "Save Bodies" feature to multi-bodied parts that save out each body into a seperate part file. This seems like it would be a good solution but I have run into a lot of errors and have not got it to work consistently.
Creating a flat layout for machining purposes is a common practice among many industries so I would imagine others have run into this. Can you offer any help or advice?
-Tim
SolidworksApi macros
Tim,
I don't think you are going to do any better than #2. Why is the speed stopping you? Can't you run the add-in over night? Or perhaps you could "prep" your parts by creating Delete Body features and then in your assembly simply edit the suppression states?
Keith
Video Tutorials for the SolidWorks API
Keith,
#2 is what I am using right now. Of course, you always want something to run faster, if you can. I figured there had to be other people out there who were trying to do the same thing I was and I was hoping to hear how other's were doing it. SolidWorks is such a BIG application with so many ways of doing any one thing I was hoping someone else had found a better way. I recently saw Richard Doyle post a macro titled:Sheet Metal: Using Multi-Bodied Flat Patterns in a Drawing https://forum.solidworks.com/docs/DOC-1712
I haven't had a chance to check-out the macro but the description talks about making a configuration for each body with the other bodies suppressed. That is something I haven't tried yet. Maybe that way will be faster.
-Tim