Best Practices

User avatar
Bryan O
Posts: 109
Joined: Wed Mar 24, 2021 7:34 am
Answers: 1
Location: Lowell MI
x 17
x 37

Best Practices

Unread post by Bryan O »

I though I would drop this here for people to review.
It's a document that I've compiled over several years that I give to new coworkers as a guide
Keep in mind, some of the techniques/examples are company specific.
I hope I pulled out everything company specific.
Our company build case good so mostly wood panels.
We outsource our form metal.

Looking for critique and input.
Attachments
Best Practices.pdf
(1.32 MiB) Downloaded 151 times
User avatar
bnemec
Posts: 1944
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2548
x 1400

Re: Best Pratices

Unread post by bnemec »

Bryan O wrote: Thu Oct 31, 2024 3:43 pm Looking for critique and input.
TLDR. Can't you just spoon feed these to me as I need them?

Honestly though, pretty good list. About a 1/3 of it applies to our use case and I think are nearly universal. Some of it is use case specific; ex. using mirrored configurations and parts are always specific to assembly. We almost never have more than one part number per file. Which also means welded parts are assembly files.

In addition to always hiding sketches, also hide all the planes and other reference geometry.

I do have a question about Tips and Tricks 36 Unlink Display States. Is this a universal problem or case specific? I've been linking display state to config on sheet metal parts. It is the only way I've been told to get SW to stop showing bend line sketch in the assemblies (where the model is obviously in the formed state). A real problem when there are a lot of sheet metal parts in upper level assemblies and need to view a sketch.
User avatar
Dwight
Posts: 274
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 220

Re: Best Pratices

Unread post by Dwight »

bnemec wrote: Thu Oct 31, 2024 4:59 pm I do have a question about Tips and Tricks 36 Unlink Display States. Is this a universal problem or case specific? I've been linking display state to config on sheet metal parts. It is the only way I've been told to get SW to stop showing bend line sketch in the assemblies (where the model is obviously in the formed state). A real problem when there are a lot of sheet metal parts in upper level assemblies and need to view a sketch.
I don't have any issue with bend lines showing whether display states are linked or not. We always hide them and usually we have displayed states unlinked.
User avatar
Dwight
Posts: 274
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 220

Re: Best Pratices

Unread post by Dwight »

Bryan O wrote: Thu Oct 31, 2024 3:43 pm I thought I would drop this here for people to review.
I like your list. Very Useful. Most things follow our own practices.

I don't quite agree with item k, which says to avoid sketch arrays and use array features. I think sketch arrays are pretty handy and powerful, especially when you use sketch constraints to control them instead of using numbers in the array properties window. Among other advantages, when editing an assembly, you can click on a face and edit the parameters for both the seed features and the array features together.

Dwight
User avatar
AlexLachance
Posts: 2187
Joined: Thu Mar 11, 2021 8:14 am
Answers: 17
Location: Quebec
x 2373
x 2015

Re: Best Pratices

Unread post by AlexLachance »

Dwight wrote: Fri Nov 01, 2024 7:59 am I like your list. Very Useful. Most things follow our own practices.

I don't quite agree with item k, which says to avoid sketch arrays and use array features. I think sketch arrays are pretty handy and powerful, especially when you use sketch constraints to control them instead of using numbers in the array properties window. Among other advantages, when editing an assembly, you can click on a face and edit the parameters for both the seed features and the array features together.

Dwight
There are use cases for both, but features are preferable in most ways as they generally become less confusing to the unseasoned users. I have a document very similar that I use as a training tool. I give it out to new employees and give a "reminder" 1 hour over-read with everyone every year. When I get the time, I will definetly look to see and add what is in yours but missing in mine, and if I see anything that is in mine that is not in yours I'll try and share it.
User avatar
josh
Posts: 295
Joined: Thu Mar 11, 2021 1:05 pm
Answers: 16
x 22
x 508

Re: Best Pratices

Unread post by josh »

Dwight wrote: Fri Nov 01, 2024 7:59 am I like your list. Very Useful. Most things follow our own practices.

I don't quite agree with item k, which says to avoid sketch arrays and use array features. I think sketch arrays are pretty handy and powerful, especially when you use sketch constraints to control them instead of using numbers in the array properties window. Among other advantages, when editing an assembly, you can click on a face and edit the parameters for both the seed features and the array features together.

Dwight
This.

I think what confuses a lot of people about sketch patterns is that they expect them to be static based on the parameters you enter in the property manager, just like feature patterns are. Once you realize that this is intentional to allow you the flexibility to define how the pattern instances are constrained using additional sketch relations it opens up a lot more options for ways to define your parts.
User avatar
Dwight
Posts: 274
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 220

Re: Best Pratices

Unread post by Dwight »

josh wrote: Fri Nov 01, 2024 8:39 am I think what confuses a lot of people about sketch patterns is that they expect them to be static based on the parameters you enter in the property manager . . .
Well put. I think that is the case.
User avatar
SPerman
Posts: 2056
Joined: Wed Mar 17, 2021 4:24 pm
Answers: 14
x 2227
x 1878
Contact:

Re: Best Practices

Unread post by SPerman »

I also struggled with the fact that what it calls the X-Axis, is not the global part X-Axis.
-
I may not have gone where I intended to go, but I think I have ended up where I needed to be. -Douglas Adams
User avatar
Bryan O
Posts: 109
Joined: Wed Mar 24, 2021 7:34 am
Answers: 1
Location: Lowell MI
x 17
x 37

Re: Best Practices

Unread post by Bryan O »

Thanks for the input! Keep it coming!
@bnemec We generally don't use display states and (I might be wrong) but I was told they are a memory hog.
@Dwight I'll have to look more at sketch patterning. Maybe I haven't looked closely at it enough.
@AlexLachance The end goal of this is to get as many people using the same techniques as possible.
I have a few coworkers who overthink things and try to outthink the software. Then there is also the flipside, the "lazy modeler".
My basic premises is KISS and model so someone following you can understand what is going on.
User avatar
Dwight
Posts: 274
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 220

Re: Best Practices

Unread post by Dwight »

Bryan

I thought display states are better than configurations or sections for performance. I'd like to learn if that's not the case.

There's a thread I started on sketch arrays with a link to a video at https://www.cadforum.net/viewtopic.php? ... ray#p20054.

Dwight
User avatar
DavidWS
Posts: 23
Joined: Fri Jul 28, 2023 11:33 pm
Answers: 1
x 26
x 12

Re: Best Practices

Unread post by DavidWS »

I like your list... it mostly follows the best practices mantra I promote in most ways! Good job!
User avatar
Bryan O
Posts: 109
Joined: Wed Mar 24, 2021 7:34 am
Answers: 1
Location: Lowell MI
x 17
x 37

Re: Best Practices

Unread post by Bryan O »

Thanks @Dwight ! I appreciate the video.
Most of ours parts use configurations for lengths and hole counts.

Attached is an example of how I use Feature Pattern.
"Up to Reference" has been a GAME CHANGER for me!
I can change pattern count (configurable) without having to go back and change sketch geometry.
There is some additional reference geometry but it's simple rectangles.
I can make it symmetrical or not.
1 downside is I have not found a way to "Instances to Skip" that is configurable.

1000 ways to do the same thing, Seeing how others do things always helps me make better choices for our applications.
Attachments
Featutre Pattern EX.SLDPRT
(419.34 KiB) Downloaded 39 times
User avatar
Bryan O
Posts: 109
Joined: Wed Mar 24, 2021 7:34 am
Answers: 1
Location: Lowell MI
x 17
x 37

Re: Best Practices

Unread post by Bryan O »

SPerman wrote: Fri Nov 01, 2024 10:18 am I also struggled with the fact that what it calls the X-Axis, is not the global part X-Axis.
Yah. I struggle with that to.
What I try to instill here is "Model in Real World Orientation"
We make desk. A desk top should be drawn on the TOP plane with the extrusion in the -Y( so the top/middle of the surface is 0,0,0)
I would prefer the top be A sketched witch contain the overall dimensions dimensions (W&D) as these are the most common to change.
This would put the sketch on the XZ plane.
The thickness (Extrude IN -Y) changes far less.

A side panel would be similar: the sketch would be on the YZ with the extrusion being X

When dropping parts into an assembly, orientation does not need to change.
and HOPEFULLY, as most of our part have symmetry, they can be aligned with the assembly planes.
User avatar
bnemec
Posts: 1944
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2548
x 1400

Re: Best Pratices

Unread post by bnemec »

Dwight wrote: Fri Nov 01, 2024 7:45 am I don't have any issue with bend lines showing whether display states are linked or not. We always hide them and usually we have displayed states unlinked.
At the risk of hi-jacking thread, but hopefully it's relevant and points out how use cases affect many things. Hiding the bend lines in the flattened state causes there to be no bend lines in the dxf, which we need. This is the thread that sums up my research and conclusion on flat patterns, configs, formed parts not showing bend lines in assemblies and bend lines showing on dxfs from models.
https://www.cadforum.net/viewtopic.php?t=2471

SPR 754516

Edit: We don't use display states vast majority of the time and never in a part file. I had no idea what linking display state meant. We're just another victim of unused features causing problems by not working together.
User avatar
Dwight
Posts: 274
Joined: Thu Mar 18, 2021 7:02 am
Answers: 2
x 2
x 220

Re: Best Practices

Unread post by Dwight »

Dwight wrote: Fri Nov 01, 2024 12:53 pm I thought display states are better than configurations or sections for performance. I'd like to learn if that's not the case.
To answer my own question, the technical sites believe display states are lighter than configurations:

https://help.solidworks.com/2019/englis ... mblies.htm

"Switching from one configuration to another can slow performance, especially in large assemblies, because the software is loading a different model. Switching from one display state to another can be faster because the model data is already loaded."


https://hawkridgesys.com/blog/overview- ... lay-states

"Utilizing display states allows for the quick transition between these different model appearances. Though colors of a model can be changed between different configurations, as long as the physical model is the same in both it is generally recommended to make appearance changes in display states due to the performance gains."


https://www.javelin-tech.com/blog/2022/ ... gurations/

"Using the display states is much less computationally demanding than having unnecessary configurations."

I assume this advantage applies to the performance of drawing views. We use a display state in a model to hide items in a drawing view in order to reveal hidden items, instead of using a section view or an exploded view. Our top level assembly drawing need all the help they can get.

Dwight
TTevolve
Posts: 253
Joined: Wed Jan 05, 2022 10:15 am
Answers: 3
x 86
x 159

Re: Best Practices

Unread post by TTevolve »

I believe there was also a case study where feature patterns had faster regeneration times then skecth patterns.
Frank_Oostendorp
Posts: 221
Joined: Tue Mar 09, 2021 7:25 am
Answers: 3
Location: Netherlands
x 184
x 229

Re: Best Practices

Unread post by Frank_Oostendorp »

TTevolve wrote: Mon Nov 04, 2024 11:32 am I believe there was also a case study where feature patterns had faster regeneration times then skecth patterns.
Can you remember where to find this study?
User avatar
jcapriotti
Posts: 1869
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 30
Location: The south
x 1214
x 1999

Re: Best Practices

Unread post by jcapriotti »

Just did a test,

Version: SolidWorks 2024 sp5

Feature Pattern:
  • Cut Extrude. 0.125 Diameter sketched hole
  • Linear Feature Pattern 20 x 100
Sketch Pattern:
  • Cut Extrude. 0.125 Diameter sketched hole
  • Linear Sketch Pattern 20 x 100
Each time did a Force rebuild (Control Q). Quite a difference in rebuild times. Also of note, working with the sketch pattern results in some selection and highlight delays.
image.png
Jason
TTevolve
Posts: 253
Joined: Wed Jan 05, 2022 10:15 am
Answers: 3
x 86
x 159

Re: Best Practices

Unread post by TTevolve »

Frank_Oostendorp wrote: Wed Nov 06, 2024 8:50 am Can you remember where to find this study?
https://www.cati.com/blog/picking-apart ... -sketches/

But you can do it yourself as jcapriotti did. There are times to use a sketch pattern, and on small number of copies it's effect is minimal, but on large patterns of holes or shapes it can make a huge difference.
User avatar
jcapriotti
Posts: 1869
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 30
Location: The south
x 1214
x 1999

Re: Best Practices

Unread post by jcapriotti »

Was wondering how a cloud based CAD system would handle this, Onshape in this case.. The rebuild time for the same part with a 20 x 100 feature pattern rebuilt in a similar time, slightly faster than my 5 years rig (.65 vs .91 secs).

The sketch pattern rebuilt in 7.5 seconds, twice as fast as my rig, although I'd expect similar results with a newer CPU.

Larger patterns were a no go, looks like cap it at 2500 instances.
image.png
I was able to go to a higher count with the sketch pattern but hit a limit of some sort at 50 x 100. Just wouldn't take a larger number. Increased rebuild to 51 secs, not bad compared to SolidWorks.
Jason
User avatar
DanPihlaja
Posts: 849
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 812
x 980

Re: Best Practices

Unread post by DanPihlaja »

jcapriotti wrote: Wed Nov 06, 2024 5:43 pm Was wondering how a cloud based CAD system would handle this, Onshape in this case.. The rebuild time for the same part with a 20 x 100 feature pattern rebuilt in a similar time, slightly faster than my 5 years rig (.65 vs .91 secs).

The sketch pattern rebuilt in 7.5 seconds, twice as fast as my rig, although I'd expect similar results with a newer CPU.

Larger patterns were a no go, looks like cap it at 2500 instances.
image.png

I was able to go to a higher count with the sketch pattern but hit a limit of some sort at 50 x 100. Just wouldn't take a larger number. Increased rebuild to 51 secs, not bad compared to SolidWorks.
Not sure if this was shared already or not, but...
https://www.goengineer.com/blog/solidwo ... h-patterns

And this one written by LIN SHAODUN:
https://forum.solidworks.com/thread/201949
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
User avatar
JSculley
Posts: 646
Joined: Tue May 04, 2021 7:28 am
Answers: 55
x 9
x 878

Re: Best Practices

Unread post by JSculley »

Dwight wrote: Mon Nov 04, 2024 11:02 am To answer my own question, the technical sites believe display states are lighter than configurations:

https://help.solidworks.com/2019/englis ... mblies.htm

"Switching from one configuration to another can slow performance, especially in large assemblies, because the software is loading a different model. Switching from one display state to another can be faster because the model data is already loaded."


https://hawkridgesys.com/blog/overview- ... lay-states

"Utilizing display states allows for the quick transition between these different model appearances. Though colors of a model can be changed between different configurations, as long as the physical model is the same in both it is generally recommended to make appearance changes in display states due to the performance gains."


https://www.javelin-tech.com/blog/2022/ ... gurations/

"Using the display states is much less computationally demanding than having unnecessary configurations."

I assume this advantage applies to the performance of drawing views. We use a display state in a model to hide items in a drawing view in order to reveal hidden items, instead of using a section view or an exploded view. Our top level assembly drawing need all the help they can get.

Dwight
Display states also don't affect the BOM, so you can maintain the same balloon numbering across multiple views that show different components of an assembly. This is great for complicated assemblies where you want to show step by step assembly instructions.
User avatar
DanPihlaja
Posts: 849
Joined: Thu Mar 11, 2021 9:33 am
Answers: 25
Location: Traverse City, MI
x 812
x 980

Re: Best Practices

Unread post by DanPihlaja »

JSculley wrote: Fri Nov 08, 2024 10:18 am Display states also don't affect the BOM, so you can maintain the same balloon numbering across multiple views that show different components of an assembly. This is great for complicated assemblies where you want to show step by step assembly instructions.
Alternatively, you can ALSO use configurations in your separate views, but then link all the balloons in all the views to the same BOM
-Dan Pihlaja
Solidworks 2022 SP4

2 Corinthians 13:14
Post Reply