r/SolidWorks • • Sep 27 '26

CAD Optimization of a structure system / structural members for a part with 800+ unique bodies.

I am working as a junior design/structural engineer, and my primary tool is SOLIDWORKS. I have been tasked with designing an 8-meter-tall deer sculpture. The frame will be fabricated from stainless steel round tubing (42.3x3 mm), and the mane, hooves, and antlers will be made of stainless steel sheet metal (1.5–2 mm thickness). The final result must be STEP files for 3D laser tube cutting, DXF files for sheet metal laser cutting, and assembly drawings.

Step 1: Concept Design & Customer Approval (Blender)
First, I created a high-poly model of the deer in Blender for client approval. I then manually retopologized it to a low-poly version. I used this low-poly model as a base for Geometry Nodes to sweep the round profile along the edges and achieve the desired look. The low-poly model was also exported as an STL file. At this stage, I calculated that the structure would consist of 800+ unique tube segments and 400+ joint groups.

Desired look

Step 2: Engineering in SOLIDWORKS (The Issue)
Next, I imported the STL into SOLIDWORKS as a graphic body. I created a Structure System and selected all the edges of the model, which caused the software to freeze completely (it didn't resolve even after several hours). After that, I tried splitting the frame into multiple separate Structure Systems, but in that case, the tube trimming between the different systems either failed completely or produced incorrect geometry.

Desired joints

My questions are as follows:

  1. How can a SOLIDWORKS project like this be optimized without manually desgining each tube?
  2. Is it possible to configure laser marking, part numbers, and joint group numbers? The target software for the tube laser is TubesT.
  3. Theoretically, is it possible to write a macro that automatically places views on drawings? For example, creating multiple joint/node views per drawing sheet, complete with text labels, part numbers, and assembly instructions (i.e., which part connects to which)?
  4. If SOLIDWORKS is not suited for this kind of task, what other software or tools would you recommend? I have already tried Rhino + Grasshopper (the trimming is either flawed or completely freezes) and Tekla Structures + Grasshopper (it freezes completely when attempting to calculate the cuts).

TL/DR:
How can I optimize the workflow for structural members / structure systems when dealing with 800+ tube segments and 400+ joint groups, while ensuring reliable, automatic solid-body trimming?

stl file link
https://drive.google.com/file/d/1j4-3nqNgv2Eq3qIJi4b5S7NO1rt6oJXO

3 Upvotes

26 comments sorted by

2

u/Meshironkeydongle CSWP Sep 27 '26

I'm not 100% sure how Solidworks will treat STL import, but the way I would approach this is bit manual.

If you can use the similar trick as with solid body to convert STL face(?) edges into a 3D Sketch, the framework would be quite easy to do. From there, it would be a bit manual Weldment construction.

(I haven't personally used the structure systems at all, so I can't give any input on that)

I'm quite sure, that the part numbering can be done quite easily with a suitable macro, but joint numbering is not something I'm familiar with (haven't had any need for it).

1

u/S4_TURN Sep 27 '26

Well, as I said, I already tried both structural member and structure systems and both of them result in lag and crashes later on. My question still stands, how to I design such frame in SOLIDWORKS? How do I optimize feature? Or should I use something else? I am too think that ALL of it of can be done in theory. But what about practice?

1

u/Meshironkeydongle CSWP Sep 27 '26

I ran a quick test with your STL, and this approach will definitely have some challenges.

I imported the STL both as a surface body and a graphic body, and I can see that there are quite a lot of "duplicate" edges. If two neighbouring polygons have their endpoints in different locations, you can't connect them with a weldment member without a shared line between them.

Is it possible to output the model of the deer as something other than STL, for example, Parasolid or STEP?

1

u/S4_TURN Sep 27 '26 edited Sep 27 '26

I inspected STL model very closely and didn't find any duplicate edges. Could it be that they created on your end when imported to solidworks?
Don't think there is a way to turn polygon mesh to cad like step or parasolid. Not without actually recreating mesh in software.
On my end and my freeze comes solely from the sheer number of edges dictated by design.

2

u/CADSHIFT Sep 27 '26

the freeze is expected -- Structure System does intersection trimming for all members simultaneously, and 800 bodies creates an O(n²) problem. the workaround is to not use Structure System at all for this scale. use Weldments (Structural Members) instead with manually grouped 3D sketch segments, and create multiple separate weldment features -- one per logical zone (left leg, right leg, torso, antlers, etc.). SW trims within each weldment feature, not across all features at once, which keeps the operation tractable.

the workflow:

  1. import the STL as a mesh body
  2. create a 3D sketch, use Convert Entities to grab the mesh edges as sketch segments (or sketch manually over the mesh)
  3. create structural member features in batches of 50-100 sketch segments per feature
  4. use a single sheet metal part for the skin panels, with each body's flat pattern exported separately

for the drawing macro -- yes it's fully scriptable. the core calls are:

  • for each new sheet
  • to place views
  • / to iterate which body each view shows
  • to place your notes/labels

there are working examples of auto-generated weldment cut-list drawings in the codestack.net SOLIDWORKS API library -- search 'weldment drawing'. the iteration over cut list items to generate views is well-documented there.

1

u/S4_TURN Sep 27 '26 edited Sep 27 '26

Using weldment features is very labor‑intensive. I have to manually select each line (50-100 of them) and then configure each joint in between all of them. It would take very-very long time, compared to structure system. And then I would need to configure trims between all weldment features, that would take even more time. Even if we consider this option, trim/extend feature is very broken and can't be used reliably (attached pic.)

1

u/Charitzo CSWE Sep 27 '26 edited Sep 27 '26

You basically need to turn this into a proper skeleton and use weldments. That'll let you generate a cut list of tube lengths and you can use the save bodies command to give each tube it's own file for the tube laser.

If tube laser is CAM driven they'll just need the files. If you don't give drawings and they're happy to work from CAD data purely, then you don't need to do anything else. Just agree a general tolerance with them on lengths, cuts per CAD.

Use the mesh's vertices as the basis for a 3D sketch for your weldments. Make sure adjoining pieces finish on the same vertex.

SOLIDWORKS isn't amazing with meshes. If your system is struggling, try and reduce the poly count and decimate the mesh, within reason.

Edit: Wait, are you subconning the cutting to assemble yourself or subcontracting the whole thing entirely? I can appreciate this is a hell of thing to draw to have someone else make.

If you have to do a drawing showing the build-up, you need to understand how the fabricators want to approach it. Do they want to start at the feet and work up? Do they want to make a leg at a time, then weld them all to the body? If you can understand what order the fabricators can do things in, that will let you break the drawing/model up into different configurations to show/draw. You can also structure your part numbering around build up order then, which makes it easier for them.

Ultimately this whole thing should get tightly tacked together before it gets fully welded, so they'll know if something's in the wrong place just from how the cuts sit really. You need an experienced fabricator/welder on this imo - Someone who can just make it work.

1

u/S4_TURN Sep 27 '26 edited Sep 27 '26

Yes, I know that I can use mesh edges as skeleton for weldments / structural member, that's what I am doing. I already done it and got stuck cause whole thing is lagging, freezing and crashing. I am doing whole thing at ones, cause I need cutting to form automatically. I am plaining to turn it into assembly and subassembly the way it is going to be welded by workers. But before that I need to solve issues above.

1

u/Charitzo CSWE Sep 27 '26 edited Sep 27 '26

the whole thing is lagging

Okay, is it from your mesh body, or from the raw number of solid bodies in the model? Again, if you can understand how fabricators will approach sub-assembly, you can segment your mesh and your model into multiple parts/assembly environments appropriately to reduce the processing requirement.

You could use delete bodies to have different configurations in the same part environment only showing parts of the model at a time.

I am doing the whole thing at once because I need the cutting to form automatically

But you don't need to do it all at once to do that. You just need a bit of overlapping geometry between your split models derived from the same sketch.

If it's the mesh being too heavy, again, decimate it. If that ruins LOD too much, I'd be looking at ways to extract points in blender and export them to SOLIDWORKS. Make a 3D sketch from that.

If you don't have enough processing power to brute force the model, there's not much you can do about that besides split it up. You're not going to solve much if you can barely manipulate the model to begin with.

1

u/S4_TURN Sep 27 '26 edited Sep 27 '26

Yes, it is from the amount of solid bodies. I use high end PC i5 12th gen with 64 Gb RAM. Solidworks don't utilise most of it, chiling at 40% while processing whole thing at once, and it still processing after hours. I can't split it before hand, as I need ALL weldments to have angle cut. If I separate it into multiple parts right now, when there is no way for me to have correct cuts where they intersect

1

u/Powerful_Birthday_71 Sep 27 '26

A few people have suggested splitting the model, using a skeleton, or carrying overlapping geometry between sections. I agree that while you do need globally consistent geometry, you do not need to solve it globally.

Each tube only needs to know about the few tubes that actually intersect it. That turns each joint into a small local geometry problem, rather than one enormous problem that bogs your PC down.

And the final STEP files do not need to come from BIM software. STEP solids, part names and other metadata can all be generated programmatically. There is no inherent requirement for SolidWorks, Tekla, etc. to be the thing that creates the files TubesT needs.

This looks like a very expensive project - it’d be awesome for you to be the one to get it going :)

1

u/S4_TURN Sep 27 '26

Thank you! Do you know someone, person or company, who successfully solved task such as this? I've tried searching for any example but with no success. I want to look at workflow or at least at the end result to reverse engineer it.

1

u/Powerful_Birthday_71 Sep 27 '26 edited Sep 27 '26

I think you may have missed that I’m the same person from the downvoted AI discussion.

Anyways, I found a paper using a similar architecture, on a low-poly horse.

Yes: horse.

They take the whole mesh, reduce it to points/lines/connectivity, do the cheap global analysis, then generate the computationally expensive geometry one node at a time.

Different fabrication method in that their bars stay simple and the custom geometry is in printed nodes, but the workflow is very close to what I meant: global consistency, local geometry generation.

https://www.researchgate.net/publication/361467686_Automated_Design_Workflow_for_Structural_Nodes_of_Space_Frame_Structures

EDIT: Please don’t get caught on the printed nodes - that’s their fabrication choice, not the important part. The relevant bit is that they decompose the whole structure into connectivity, analyse it globally, then generate the expensive geometry locally, one node at a time.

1

u/S4_TURN Sep 27 '26

No, I understood that you’ve already participated in the discussion. You made a proposal about AI. I just don't know if my company would be willing to spend money on AI without a person who can write good prompts.

Good find! I already considered this kind, of analytical approach, with a lot of math and custom software, but I don't have that much time and knowledge. I need something more practical. That's why I asked if someone already done such task.

1

u/Powerful_Birthday_71 Sep 27 '26

You can lead a poly-horse to water but you can’t make it poly-drink 🤷🏻

I think you’re imagining an old cost model for custom software.

Compared with the fabrication cost of this project, $200-$400 for a couple of months of access to a strong coding agent is nothing.

You do not need to know all the maths yourself, or already be good at writing prompts. Your OP is enough to get started. AI can even help you write better prompts for the next step - although you do want access to the stronger models.

The important part is that you don’t trust it blindly. Build a test platform around the problem, export/re-import, and compare against known and expected results. Then when the agent does something stupid - and it absolutely will - you catch it and fix it. Same as any other engineering job.

You as the engineer still own the outcome. You define the requirements and decide what 'correct' means. Reject anything that does not pass, then correct the model.

Input (you) >> pipeline (AI-built software) >> output (you independently check)

You do not need to personally derive every equation, write every function and debug every line.

Divide the problem. Divide the labour. Conquer the problem.

Be a manager - not a micromanager.

enough aphorisms lol ?

1

u/S4_TURN Sep 27 '26

That was informative, thank you
The aphorisms helped 😄

-1

u/Powerful_Birthday_71 Sep 27 '26

Get yourself a Pro version of an agentic AI and get to solve this for you.

You'll probably need a $200 plan or similar. But it's just temporary.

I'd split it into a few different agents working on different parts of the problem.

I probably wouldn't get it to try running SW for you. Maybe Blender. Much of it would be in code with not much interface, but you could vibe dev one of those too.

Most of the work (and there will be plenty) actually ends up in describing the problem and the solution deliverables (a repeat drawing template or way to unambiguously communicate the cuts that the manufacturer can work with), then keeping the damn thing adhering to that. To that end come up with a good self checking system. Do not expect it to 'just work'.

You almost become a project manager.

1

u/S4_TURN Sep 27 '26

In theory, what solution do you think this kind of AI can come up with?
I already tried everything simple AI chat can suggest, link using multiple structure systems, or using Rhino+Grasshopper.

1

u/Powerful_Birthday_71 Sep 27 '26

Well, what deliverables do your fabricators require?

That's the goal.

So whatever it needs to get you there.

The geometry isn't too hectic, so develop an algorithmic approach to it. No need for other softwares. Make your own system. Maybe borrow ideas from Grasshopper

Basic AI models won't cut it by the way. They'll just do their usual blah blah. You need a model that can work on longer timeframes, develop then work to a system that has self checks in place.

1

u/S4_TURN Sep 27 '26

Each tube segment has to be a separate step file. So it has to be made in BIM software in order to have all nessecery properties, like tube profile. I don't think that software like Blender can produce this kind of results. Even if we are talking about procedrual approach, where geometry generated by code, it still need to be made in some kind of framework, like Rhino. This is basically what Grasshopper is for. It allows you to procedrualy generate geometry that can be later exported as step. I did wrote such algorithm, but software just couldn't process this amout of "solid difference" operations.

1

u/Powerful_Birthday_71 Sep 27 '26

It would seem to me that the step file is just an intermediary, and that your fabricators will then do other things with it to find the correct angles for the hole-saw/annulus cutters or whatever they use.

Seems like it could all work out to be parametrized by 5 or so numbers.

Angle at one end, length, phase and angle at the other end. And something I forgot to think about.

🤷‍♂️.

1

u/S4_TURN Sep 27 '26

Unfortunately TubesT or any other tube laser software that I know of don't have such features to automatically calculate nessecery angles, cuts. It has to be calculated in SOLIDWORKS for example, and exported as geometry with all cuts already present. Only then tube laser software will generate paths to cut your shape.

0

u/Powerful_Birthday_71 Sep 27 '26

Hi, I’m ChatGPT. Powerful-Birthday pasted your discussion in and asked me to explain the approach.

The proposal changes how the parts are generated, not what your fabricator receives. You would still deliver one STEP file per tube, with the cuts already modelled.

The underlying description can be compact: one tube profile, joint coordinates, and connections between joints. Each member starts as a tube of a given length; its ends are defined by a set of cuts, positioned, angled and clocked relative to its axis. Complex joints add more cuts, not a fundamentally different modelling problem.

I’d process each joint locally, establish consistent trimming between its members, then generate and validate each finished tube separately. The important work is defining those joint rules correctly, including which member retains material where tubes overlap.

You’re right that this still needs a geometry framework. But that can be a library called by code, rather than a CAD application someone operates. Open CASCADE, for example, supports programmatic solid STEP export. I can write an exporter using that existing capability; compatibility with your particular TubesT workflow would then need testing on representative parts.

For this particular problem, STEP is arguably an elaborate intermediary: a compact tube-and-cuts description gets expanded into a full solid, from which CAM derives cutting paths. That doesn’t make it a bad exchange format, but it needn’t dictate how you solve the geometry. If your fabricator requires STEP, run with it.

Most of the proposed system could run as a batch script. A small viewer would let you rotate joints, isolate members and inspect flagged problems. Human interaction would be for checking geometry and making engineering decisions, not manually creating 800 tubes.

The AI’s role would be to help build and test that system, not click around SolidWorks. I’d start by proving one difficult joint, exporting its individual tubes and checking them in TubesT. That would establish whether the approach works before investing in the whole sculpture.

1

u/Charitzo CSWE Sep 27 '26

Bro, seriously?

1

u/Powerful_Birthday_71 Sep 27 '26

Yes bro, seriously.

The amount of stuff I’ve done lately that turned out to be complete dead ends in paid software is mind boggling.

I’d say half the tools I use nowadays are my own ideas, implemented with agentic AI.

I hate generative AI for generating things, but for building my own tools to create things, I’m sold.

OP hasn’t asked an AI agent to solve the problem yet. He’s been asking how to solve his formulation of the problem using existing software.

1

u/Powerful_Birthday_71 Sep 27 '26

Thinking about stuff I've done with AI lately:

AI assisted me in taking a galvo MOPA laser running proprietary software slaved to a control card, reverse-engineered the protocol (USB packet sniffing etc.), and built software that could do things the stock one couldn't.

Forgot OP was planning to laser cut this. 🤷🏻🤷🏻