AnsweredAssumed Answered

Create extrusion from sketch line

Question asked by Patrick Jensen on Aug 22, 2016
Latest reply on Aug 24, 2016 by Amen Allah Jlili

Hello everyone,


I am attempting to create a macro that can create some 3D volume from a sketch line. On the model there are many sketches on edges that represent where the weld will go. We do certain things with the sketches and then send the model to manufacturing where they import the model into Solidworks Composer. I am unfamiliar with the program but I am told that only 3D solids can be imported (i.e not sketches). It was proposed to create a macro that will take all the sketches and make them into some extruded volume before it is sent to manufacturing. It does not matter what shape the cross section is because they will be barely visible. I was planning on iterating through the sketches, creating a cross section on the end of the line, and sweeping to the other end. I have no idea how I would do that just yet, but was more  wondering if this was the simplest way to create some form of a 3D solid from a sketch line. This project is still in the very early stages, so I don't expect any code excerpts, but just a discussion about the best way to do this. Any input is greatly appreciated.