News:

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.

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.

Lever movement

Started by Bizon, February 21, 2025, 07:26:58 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Bizon

Hi,
I have to do a design of an attachment for an excavator, I need to simulate a lever to adjust the movement. Is there such functionality in TurboCAD Platinum ?
TurboCAD Platinum 2024 / Win 11 Pro 64bit / ThinkPad P17 / Xeon W10855M 6x2.8GHz / 64GB RAM /  Quadro RTX 5000

Dean

Quote from: Bizon on February 21, 2025, 07:26:58 AMHi,
I have to do a design of an attachment for an excavator, I need to simulate a lever to adjust the movement. Is there such functionality in TurboCAD Platinum ?
Am I correct in thinking that you want to animate the lever? If so, you might want to give Animation Lab a try.
The attached example is a Animation Lab example drawing. I modified it to work with TurboLux.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Andy H

Another option.  If you primarily just need 2D, you could try the built in constraints.  Whilst 3D can be controlled with constraints, it is more awkward, and in my experience prone to breaking.

Bizon

#3
Andy are you able to write me what tools to use to add constraints for 2d and 3d axis ? Can you make a short video for me ? I will be very grateful

I can buy animationlab, however, it is probably not what I am looking for.
TurboCAD Platinum 2024 / Win 11 Pro 64bit / ThinkPad P17 / Xeon W10855M 6x2.8GHz / 64GB RAM /  Quadro RTX 5000

Alvin Gregorio

Quote from: Bizon on February 21, 2025, 12:59:06 PMAndy are you able to write me what tools to use to add constraints for 2d and 3d axis ? Can you make a short video for me ? I will be very grateful

I can buy animationlab, however, it is probably not what I am looking for.
Bizon-- Can provide us an annotated drawing showing what you are trying to accomplish.

It would better for your education if we use an applicable example, not something random and generic to you.
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)

Andy H

Quote from: Bizon on February 21, 2025, 12:59:06 PMAndy are you able to write me what tools to use to add constraints for 2d and 3d axis ? Can you make a short video for me ? I will be very grateful
I can buy animationlab, however, it is probably not what I am looking for.

Alas I'm no expert with constraints,  I only know the basics.  For testing movement and limits.  I use the free program 'Linkage' by David Rector.  I use it to test limitations before recreating it in TC.

If you have never used constraints before.  you may want to have a quick look at the original constraints guide (attached) along with the TC 2024 help file.  The guide was provided by IMSI back in TC v10.5 (I think). But because the guide is so old, it does not have the following - Horizontal, Vertical, Midpoint nor animation.

I've no idea what type of movement you wish to test>  Attached is a little gif done in TC 2024.  This is just to show constraints in use, and will be nothing like what you wish to achieve. the whole thing is controlled by with the angle dimension shown. (animated by changing the angle using the constraint animation tool). Click on the gif to animate.

Bizon

Today I tried a little, but it is quite complicated  ;D
TurboCAD Platinum 2024 / Win 11 Pro 64bit / ThinkPad P17 / Xeon W10855M 6x2.8GHz / 64GB RAM /  Quadro RTX 5000

Bizon

And is it possible to apply these restrictions to 3d solids? 
I am very weak in this, but I found the 2021 documentation.
Constraining Geometry
TurboCAD Platinum 2024 / Win 11 Pro 64bit / ThinkPad P17 / Xeon W10855M 6x2.8GHz / 64GB RAM /  Quadro RTX 5000

Alvin Gregorio

Quote from: Bizon on February 24, 2025, 11:52:05 PMAnd is it possible to apply these restrictions to 3d solids?
Yes. Look for an example in the Samples folder, in the Drawings folder.
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)

Alvin Gregorio

Quote from: Bizon on February 24, 2025, 11:52:05 PMI am very weak in this, but I found the 2021 documentation.
The 2017 online User Guide is much better formatted and therefore easier to understand.  TurboCAD Constraints have not changed since 2017.
Constraining Geometry (2017 UG)

I am also attaching a guide someone else created and shared with us.
_____
TIP:  When using Constraints, use Formulas as much as possible for Values; limit the use of direct-input Values.  The constrained geometry-- the model-- is a lot less prone to breaking, that way.

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)

Alvin Gregorio

#10
Once you get Constraints figured out, and you have your lever action (2D) modeled, you can use the Running Snap Nearest On Graphic to aid your visualization of how the complex lever action is going to work.

and/or (but I have not practiced with Constraints Animation):

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)

Alvin Gregorio

#11
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)

Andy H

Quote from: Bizon on February 24, 2025, 11:52:05 PMAnd is it possible to apply these restrictions to 3d solids? 

There are a few restrictions to using constraints with 3D.  Constraints are 2D.  which means 3D objects should be based on a 2D profile.  example, instead of drawing a cylinder and making a hole in it, with another cylinder Boolean subtracted.  You can draw 2 x 2D circles, constrain them (like concentric), add dimensions (like radius), then either use a tool like extrude, or give the circles a thickness.  This leads on to boolean -

If doing any Booleans type operations,  you should use part tree enabled.  Without part tree the Boolean will create a 'dumb' ACIS solid, and constraints will not work on the resultant 3D object.

Bizon

It seemed simple, but yet it is not.
I installed the solid edge program out of curiosity to see how it is solved there.
But right from the start I don't like this mode of operation.
TurboCAD Platinum 2024 / Win 11 Pro 64bit / ThinkPad P17 / Xeon W10855M 6x2.8GHz / 64GB RAM /  Quadro RTX 5000

Ian R

I raised this Constraint Animation issue in TC2023.
To rotate one line about the end of a fixed line you can only start at an angle of 1° and cannot go past 180°.
Does Constraint Animationn allow rotating a line (representing a crankshaft) from 0° to 360°?

Alvin Gregorio

Quote from: Ian R on July 11, 2025, 12:15:48 AMI raised this Constraint Animation issue in TC2023.
To rotate one line about the end of a fixed line you can only start at an angle of 1° and cannot go past 180°.
Does Constraint Animationn allow rotating a line (representing a crankshaft) from 0° to 360°?
Please provide us with the .tcw TurboCAD Drawing file that you have constructed thus far for this.
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)

Ian R

TC2025 file attached .
Var 4 will not run if set to 0° or 180°
When Var4 goes to 180 or greater the arm Var2 flips 180° and runs in the opposite quadrant.
The drawing is two straight lines, the horizontal "fixed geometry" and the other Var2 is constrained by the angle.
 The two lines are linked by "points coincident".You cannot view this attachment.

Andy H

Quote from: Alvin Gregorio on July 11, 2025, 04:08:37 AMPlease provide us with the .tcw TurboCAD Drawing file that you have constructed thus far for this.

Alvin,  I've attached Ian's file saved back to TC 2024.  you may geta  warning about unsupported objects, click yes or no,  it doesn't make any difference, the file is the same either way.


Quote from: Ian R on July 11, 2025, 10:25:04 PMThe drawing is two straight lines, the horizontal "fixed geometry" and the other Var2 is constrained by the angle.
 The two lines are linked by "points coincident".constaint animation 120725.tcw

Ian.  unfortunately, even without constraints, that's how TC appears to do things.  In the attached image (png) is a drawing that is not constrained.  I manually relocated ref point, and rotated the brown line.  The blue angle, is how TC decided to report the new angle after rotation.  The Green is using the angle tool with 'Angle node' option.  however one cannot constrain 'Angle Node' as far as I know.

I think it will need a workaround for what you require,  I have an vague idea but not tested it yet.  If I remember right, I think Dean was good with constraints, so if he sees this thread, he may have ideas.

Andy H

#18
OK.  I had a play.  its by no means a 'polished' example.  And every time the file is opened (for me in 2024, or 2025) the angle is broken and has to be replaced. I assume this is because I angled the arc and not the lines. The gif is a bit jerky, as I only use 10 degree steps.

To be honest, I rarely do anything like this in TC.  For testing linkages, I use a free program called Linkage, by David Rector (I did donate as I used it often in the past). Once I know something works, I save as dxf and bring it into TC as a template for 3D objects.  It's a shame that constraints are not better implemented in TC.

To see the animated gif, without downloading.  Click the blank space just above the gif file name, (its there, but because its a thumbnail, it doesn't show up very well.

Ian R

Alvin,  Andy,

Thanks for the reply. It is a pity this has not been resolved in the past.
For CNC programming I used R*sin(theta) and R*Cos(theta) for profiling part circular forms.
May I could use Ruby Scripts to create circular motion (never tried Ruby, but maybe a solution).

Regards
Ian

Alvin Gregorio

I'm not sure what you are ultimately trying to accomplish, Ian.  Or how you are needing to visualize it.
But, yes, perhaps a Ruby script can work for you here.
Or a Transform(ation) Record(er)
Or a script in MacroRecorder
___________
They have something fundamentally messed up.  Regarding angles and the algorithm underlying how they are calculated and displayed.
I worked on this yesterday, experimenting with simple objects, including just an arc.  Examining Start and End points.  And what changing a Constrained Angular Dimension in Calculator Palette results in.
There's something they don't have optimal.
Andy suggested that maybe Dean knows a way around this; hopefully that is the case and Dean comes around this topic thread soon.
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)