News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Parametric Parts & Constraints

Started by DonCW, February 28, 2023, 03:21:31 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

DonCW

I'm using v2020 Platinum
Alvin posted a detailed explanation on Parametric Parts and Constraints in another thread. I thought I'd reply in a new one with a name one more on the subject. I decided to start off by reading through the Parametric Part exercise in  Off-Line help, on my machine it starts on Page 2084. I just started to do the drawing, on page 2085 item 2. shows the basic polyline which is attached. It shows 8 constraint symbols. On my drawing it only shows 6. The 2 end ones are missing. Why don't they show up along with the others, any suggestions please
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

Alvin Gregorio

#1
In the Constraints Toolbar, there is a tool also named "Auto Constraint".
Activate that.
In its Local Menu (right-click to bring it up), make sure all the options are checked.

I believe your missing Block Marks (Constraints) did not "take hold" because you don't have the "Equal Radius" Local Menu option checked in that Auto Constraint Tool.
___
Having typed that-- You are barking up the wrong tree with that Parametric Part Help section.  That is a known no-worky feature of TurboCAD.

Parametric Part Script Editing (what Torfinn and Nikki refer to as PPM) is what works.  But it's an entirely different animal.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

DonCW

Quote from: Alvin Gregorio on February 28, 2023, 04:59:42 PMIn the Constraints Toolbar, there is a tool also named "Auto Constraint".
Activate that.
In its Local Menu (right-click to bring it up), make sure all the options are checked.

I believe your missing Block Marks (Constraints) did not "take hold" because you don't have the "Equal Radius" Local Menu option checked in that Auto Constraint Tool.
___
Having typed that-- You are barking up the wrong tree with that Parametric Part Help section.  That is a known no-worky feature of TurboCAD.

Parametric Part Script Editing (what Torfinn and Nikki refer to as PPM) is what works.  But it's an entirely different animal.

Thanks Alvin.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

murray dickinson

#3
I did a little research recently, basing it around the "distance" constraint, which doesn't seem to work, or at least it doesn't work as I think it should work, which is to say that it doesn't work to suit my intuitive impression of how it should work, which is to say that I don't think any two people understand the same thing when somebody uses the word "intuition".....
That's a long-winded way of saying that I tried using the distance constraint in V10, and it seemed to me that it worked in more circumstances than it does now.  The only circumstance that I could get the distance constraint to work in recent versions (which is to say, 2016, 2020 and 2022, my most recent updates) is as a constraint between parallel lines, AND the parallel lines had to be created that way, with the parallel line tool in TC, which has the offset parallel line referring to an initial line.  Parallel lines that arrived at that geometric arrangement by any other means aren't recognised as parallel lines by TC, and consequently the distance constraint doesn't work.  It seemed to me that in V10, the distance constraint could be applied to two discrete objects, instead on two related by one being a child of another.  Being a way-back user of TC Solid Modeler, initially CorelCAD and IMSI's first implementation of the D-cubed constraints, and a user of SharkCAD Pro, in its previous incarnation as Shark FX, which also used the Siemens/D-Cubed 2D constraints in the V7 and V8 versions that I'm familiar with, I find that the constraints do work a little differently to how the constraint with the same name works in TC.  I'm thinking that initially, and up until some point in TC's history from V9 (when constraints were introduced to TC Pro general product line) until now, the PP Manager  example/tutorial that's given in the user manual/offline help .pdf actually worked as it describes, but then R&D broke it and nobody noticed....  I still have a 10-year-old desktop with Win XP 32-bit that has working TC Solid Modeler, TC Pro V5, V6, V7, V10.5, TC CADCAM 3(TCP V11), V15 and V17.  I had an initial look at V10.5, and it seemed to me that the distance constraint worked in wider circumstances than it does now, and although I'm pressed for time being a VERY busy grandparent with a posse of 5-year-old, just-started-school grandson and a 3-year-old, wants-to-keep-up-with-her-brother-granddaughter that I take responsibility for two-three days a week, while managing my own life and relationship with wife, that somewhere along the line, TC development broke some constraint management.  Like Don, I tried the example in the manual/offline help and abandoned it as a bust when it wouldn't work as it described.  Now, I'm thinking that I should try it in the older versions that I've still got active and see if it works in the earliest.  I think that I've read in the online help that the example is described by Brian Carter, who, I'm assuming, tried it somewhere along the line and it must have worked for him.  If that's so, then sometime later, it stopped working, but by then, IMSI's QC either didn't care, or weren't doing the job, and haven't been since then.  All of this is supposition, and I do intend to try that example in old versions when I get the opportunity, but if I find that it's never worked, well, what can I say but SHAME, Brian Carter, SHAME ON YOU.

The above supposition/rant is fueled a little by alcohol, and a little by the assumption that our beloved friend and colleague Henry won't come around here no more, and our world is a little dimmer.  I'd love for that to not be so.  Salute, Henry.

Alvin Gregorio

In my v2020_Platinum, the Equal Distance Constraint works as advertised (in the Help docs) on lines not initially created via the Parallel Lines Tool or otherwise already parallel.
___
Yes, somewhere along the line, they broke the Parametric Part feature (not to be confused with the Parametric Part Script Editing that results in .ppm feature).
___
I'll never be a grandfather.  But my wealthy retired older brother (62) that has enough money and freedom to do almost anything tells me his greatest joy (and only?) is spending time with his grandkids.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

I'm childcare, swimming manager, cook and dishwasher, part time school run chauffeur and home maintenance, in my case it's not effortless.

nikkipollard

A long time ago I persevered with parametric symbols - created using constraints.
I got them to work In the version they were created in. But as soon as there was an update to the software they would break and I would have to remake them. Eventually I gave up and switched to scripting parametric parts.

It is a pity, it could be a really powerful feature.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

murray dickinson

Nikki, you've reminded me that I reread this recently: the last list item in the "Constraint Rules & Limitations", page 1-15 of the original constraints guide states "Geometric and dimensional constraints imported into a drawing from another drawing will be displayed, but they will lose all associativity and functionality"....  That sounds like parametric parts as described aren't possible if these constraints can't be imported or transferred from drawing to drawing, and never have been.

Alvin Gregorio

Quote from: murray dickinson on March 02, 2023, 04:16:51 AM
Nikki, you've reminded me that I reread this recently: the last list item in the "Constraint Rules & Limitations", page 1-15 of the original constraints guide states "Geometric and dimensional constraints imported into a drawing from another drawing will be displayed, but they will lose all associativity and functionality"....
 
That sounds like parametric parts as described aren't possible if these constraints can't be imported or transferred from drawing to drawing, and never have been.
For DonCW's cabinet's modeling, I was thinking using XRefs.  The inserted XRefs being parts of the overall cabinet assembly.
XRefs that have Constraints work when inserted in another drawing; just need to do the Variables editing in the XRef origin drawing.
__
On a hunch and experimentation, I just tested this:
Insert File, that file being a .tcw Drawing File with Constraints.

Low-and-behold... the Constraints and the ability to edit the Variables came with it.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

Quote from: Alvin Gregorio on March 02, 2023, 04:42:22 AM
Quote from: murray dickinson on March 02, 2023, 04:16:51 AM
Nikki, you've reminded me that I reread this recently: the last list item in the "Constraint Rules & Limitations", page 1-15 of the original constraints guide states "Geometric and dimensional constraints imported into a drawing from another drawing will be displayed, but they will lose all associativity and functionality"....
 
That sounds like parametric parts as described aren't possible if these constraints can't be imported or transferred from drawing to drawing, and never have been.
For DonCW's cabinet's modeling, I was thinking using XRefs.  The inserted XRefs being parts of the overall cabinet assembly.
XRefs that have Constraints work when inserted in another drawing; just need to do the Variables editing in the XRef origin drawing.
__
On a hunch and experimentation, I just tested this:
Insert File, that file being a .tcw Drawing File with Constraints.

Low-and-behold... the Constraints and the ability to edit the Variables came with it.
The only problem with that, is that you would need a separate xref file for each different version, there would be no point in using constraints.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h