• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

parametric relationships between different parts

  • Thread starter Thread starter cersil
  • Start date Start date

cersil

Guest
Hello again, always on the parameterization, I am doing, to better understand, a cylindrical box in one part and the cover on another part. the box I parameterized it, I created a number of global variables where I can go to change the shape just change the height, diameter, thread pitch, number of edges etc. In short, I can change some values to create all the forms I want. very interesting. But now I wanted to create the cover in a new part. I ask you it is possible to make that by varying a parameter of the box you change accordingly one or more parameters of the cover. for example in the box.sldprt file I change the diameter of the box and automatically in the lid file.sldprt also the diameter of the lid changes properly. That would be nice. Can you do that? thanks as always for kindness.
 
Excuse me, I had a little to do. However I abandoned the use of global variables which then it is difficult to use between different parts. Now I do a sketch where I draw a profile with all the quotas, then I continue with the other functions that refer to the quotas of the sketch (which I call parameters). I do an example, I'm doing my personal library of parts, vice generally, before I had a part for each screw, now I have only one screw per category parameterized with different configurations. therefore metric screws with cross-printed head, in the sketch parameters draw the profile of the screw and parameterize the different quotas, I leave only some to change for example the metric type (m3, m4 etc.) and the length. If I want to create a new screw of this type, just set the desired sizes, e.g. I want to create a 50mm long m10 screw and automatically the screw is created. I add a new configuration.
But now I wanted to ask for curiosity, there is already the toolbox library of solidworks where there is enough robbery, (if you want to have something dirt and very cool I recommend to take a look at the site https://www.mcmaster.com/) and in particular when choosing a component, a screw for example, then makes you choose the metric type and the length you can vary by pulling back and forth a dart, unfortunately goes to how many of 5mm in 5 or much more depends on the size of the component. you could accomplish something similar but that allows me by pulling the dart to set the length finely. the problem is that with the configuration system after you have created enough, e.g. length screws that go 5mm in 5mm, maybe you need a 12.5 mm long screw and you are forced to make another configuration, which then you will not use anymore. In short, after all is history, it is possible to create a library, where once you download a component, I can type the metric and length (of any value) and have the relative component that however maintains its identity, I explain if I realize a parametric screw and the call in a set, I make several copies of which some will need 20mm other 50mm long, as I modify one unfortunately change the size of all the others and then only I will have. the use of configurations solved the problem as each instance can be different in size by changing the configuration. but it's all Moroccan, maybe you'll have to put hands on the programming to create something smarter.
Thank you for your patience.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top