TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Parametric parts via variables?
Read 177 times
October 16, 2017, 08:49:33 PM
 I have a number of frames that have a number of mounting holes along their perimeter.  All the holes are the same size. The customer keeps changing their mind as to what size these holes need to be.  It would be nice if I could just enter the name of a variable (IE: HoleMount) into the radius field for each hole.  Then, next time the dimension gets changed, change the variable in the Calculator Pallet to the new dimension and have all the holes be updated at once.

Everything is a 3D solid so I'm using the boolean subtract function.

I also attempted to create a cylinder as a block, but those can't be 3D Subtracted, as I guessed.

I also tried using the Equal Radius constraint, but it wouldn't let me select the next "hole" (circle w/depth).

Any ideas?

Logged
TurboCAD Pro Platinum V21.2 Build 59.0, 64-bit
i5-661, 16GB, GeForce GTX-650 2GB
Windows Home Premium 7
CAD operator since 1985
TurboCAD user since v8


* October 17, 2017, 12:00:13 AM
#1
Presuming you are using platinum.
Try playing around with the pattern tools.
You can subtract a pattern from an acis solid. Unfortunately you can't use constraints with patterns but you can change the size of  the original which would update all. There is a video out there.
You can also use the copy tools with the auto constraint on but I have never been able to change the number of holes with that
 - almost useless.

https://www.youtube.com/watch?v=wTeRTqi7p0o
« Last Edit: October 17, 2017, 12:17:30 AM by nikkipollard »

Logged
Nikki
TC20 platinum
TC 2015 platinum
TC 2017 with lightworks


* October 17, 2017, 03:39:21 AM
#2
My understanding - A circle with thickness is essentially a 3D part so one can't add constraint 'after the fact' (as constraints only work on 2D),  they would need constraining before any thickness is added, which also means you can't add a hole if forgotten one.

Extrudes on the other hand are only associated with the circle so constraints can be added afterwards, and one can even add more circles/extrude/subtract and constraint them,   Drawback is constraints can occasionally break if too much manipulation is done.

Another option if the holes were not equal distances apart (I think pattern only produces equal distance objects),  may be a macro but one would have to have raw the part with this in mind, i.e probably requires extrude not thickness, identical attribute info and would probably only be worth setting up if there were lots of holes. 

Logged


* October 17, 2017, 04:12:21 AM
#3
Use circles to mark the holes, use equal radius constraint for each from a source circle.  Simple-extrude them all together as compound profile, and they'll subtract as a unit, change the diameter of the source circle, the other circles will also, the holes by result.  You can constrain the diameter of the source circle as a variable.

ps You're not restricted to using the same diameter within that one subtraction.  Other source circles and children constrained to them can be used, and you can add and subtract circles/holes with update compound profile.
« Last Edit: October 17, 2017, 06:03:25 AM by murray dickinson »

Logged