CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAD Software > Solidworks


Solidworks Discuss Solidworks software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-30-2006, 12:32 PM
 
Join Date: Apr 2005
Location: USA
Posts: 39
GisMo is on a distinguished road
Equations and Assemblies. Hierarchy design

In creating an assembly, or parts that are meant to fit together, I would like to know If I can create equations in an assembly. For example, I make a box that has a top with it(two seperate parts). The box being the parent part, Can I create links or equations such that If I change the bolt holes in the box, the holes in the top will automatically be adjusted or If I change the box shape, the top will regenerate and fit the box. I would obviously like to do slightly more complicated things with this. I really like using equations when creating parts. I also have two books that don't say much about it, other than design tables and SW has a built in tutorial for that. I also like creating parts in assemblies based off of parent parts but if I ever move the part, it get warning about losing the relations. Any options that I can adjust in the settings? Thanks
Reply With Quote

  #2   Ban this user!
Old 07-30-2006, 02:51 PM
 
Join Date: Sep 2005
Location: Portugal
Age: 45
Posts: 36
interflexo is on a distinguished road

Of course you can.

On the parent part file define an equation where you define a variable:

Example: "Rod_Diam"= 20

On the child part file define an equation where you define a variable referencing the first one.

Example: "Rod_Diam"="Rod_Diam@cylinder.Part"

cylinder.Part is the parent part file name.

Create your features as you usually do. On any dimension you create you have the option "Link Value". This option allows you to link the dimension value to a variable. "Unlink value" breaks the reference.

Whenever you change the variable value on the parent part all the dependant features are updated including the ones in child parts if open in the editor. If parent part and child part are used in an assembly you will get what you want. These variables can be used also in mating relations, component arrays, etc. It's a very powerful feature.

I hope this helps...
Reply With Quote

  #3  
Old 07-31-2006, 12:01 AM
Moderator
 
Join Date: Sep 2005
Location: Canada
Posts: 1,613
JerryFlyGuy is on a distinguished road

OR you can do whats called Top down assembly design, where the first part drives the second part. The first part [ the box] is created and then added to an assembly. Save the "assembly" [ even though its just a box at this point], then go "Insert" --> Part or Component-->New Part, and start modeling the part, you can make lines colinear and equal to existing ones [ on the existing box] you can creat equations linked to the dimensions of the first part etc.. It's what solidworks is REALLY good at.. I've got flanges and mating covers drawn that can be resized to whatever you want them to be, you can add or remove hole, change hole sizes etc.. all by modifying 1 part and the second one follows and matches the first one.. its pretty slick.. You can get much more comlicated than just a couple parts, I've got several design's where there are upwards of 1000parts all linked and driven via some base dimensions and base level parts.. VERY VERY handy...

Jerry
__________________
JerryFlyGuy
The more I know... the more I realize I don't
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

  #4   Ban this user!
Old 08-13-2006, 11:54 AM
 
Join Date: Apr 2005
Location: USA
Posts: 39
GisMo is on a distinguished road

interflexo and Jerry,

Your tips have clarified my issues. Thank you very much! I appreciate it. I have been creating Top Down assemblies, but I guess I had the wrong terminology.

Still some issues, I have created a part using a design table and now the part is in assembly. for some reason when i adjust the part from the table, it will not update in the assembly, just in its own window. All of the parts referencing the dimension from the design table part are updated in the assembly and of course, the assembly is odd. When I switch between the model and the asm it even says updating components, which is expected. Thanks

Chad


UPDATE: I figured it out. In the assembly: Right click on the part with the design table->Component Properties->In the Referenced Configuration box select: "Use component "in-use" or last saved configuration"
Reply With Quote

  #5  
Old 08-13-2006, 07:17 PM
Moderator
 
Join Date: Sep 2005
Location: Canada
Posts: 1,613
JerryFlyGuy is on a distinguished road

GisMo, that will work but I suspect that what is really happening is your changing a configuration which isn't the same as the part in the assembly.

Ie: Say you changed the parts "config#2" and then you go to the assembly which is using the same part but it's linked to "Config#1", nothing changes on the assembly because of the config it uses. So, when you changed the setting to use the last used config, it automatically changes the part config for you [over to config #2] this is all fine and dandy, until you go back to config #1 in the part model [for whatever reason]. Then every assembly that uses this part will change back to config#1 also.. usually this isn't caught until the deadline is 2hr's old.. and your trying, for the life of you, to figure out why the parts don't fit.. [PLEASE.. don't ask me how I know this! ]

Jerry [experiance is w/out a doubt, the best teacher.. ]
__________________
JerryFlyGuy
The more I know... the more I realize I don't
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 09:53 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361