News:

When replying to a specific statement be sure to quote the previous post.

Main Menu

Constraints Again?

Started by AussieBloke, December 01, 2020, 07:47:27 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

AussieBloke

Studying constraints again now, can someone take a look at the sample I posted?

Henry Hubich

Quote from: Darryl W on December 01, 2020, 07:47:27 PM
Studying constraints again now, can someone take a look at the sample I posted?

Daz, are you wondering how to do that in TCad?

Henry H

Andy H

#2
Quote from: Darryl W on December 01, 2020, 07:47:27 PM
Studying constraints again now, can someone take a look at the sample I posted?

OK I had a look.  :)

If I was trying to do that properly - i.e. as a teaching aid for a class.  Rather than just for fun.   I'd look for a different  software,  one specifically designed for that type of thing.

The one I did in the AnimationLab forum uses maths, which I got off the internet.  TC's constraints are a bit (Ok lot) temperamental.   Anyway I had a play, and.  Is the gif what you were thinking of. Or was it just an example and you wanted 3d.

UH.  I should add that I modified your drawing to make things easier.  Hence the rounded ends of the slider. and an extra circle.

John R

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

AussieBloke

Im digging into constraints once again and Im getting a little closer to creating viable/useful drawings based on constrained objects. I dont find the help file that much use and the sparse documentation by imsi leaves many including me with more questions than answers. I have a pdf document here called Constraining Geometry for imsi and that useful but its the discreet object and how they react to each other that can confuse me, For me I need to understand the what, when, where and why etc.

Using V2020 I did get a little closer to understanding constraints behaviour through the SI palette.

Henry, yes I just need to mimick the Whitworth Quick Return Mechanism WQRM, to test some levers and linkage options via a Turbocad drawing. In essence I need to clarify ( with the help of a WQRM ) if I can get enough stroke length from a short lever/linkage to rotate an object 180° reliably and repeatably.

Andy thanks for the animation, so thats 2 out of 2 for your AL efforts well done and thanks mate.

AussieBloke


Edit: Alvin figured out constraints some time back, around version 19 so if you are watching or reading Alvin please chime in so we can learn from you experience.

Andy H

Quote from: Darryl W on December 02, 2020, 03:03:02 PM

Andy thanks for the animation, so thats 2 out of 2 for your AL efforts well done and thanks mate.

Hi Darryl.   The animation couldn't be simpler.   The drawing is fully constrained.  The only animation is rotating one short black line, from the centre of the large circle.  Basically there is only one command, (0 0 Rotate 0 0 -6).   Which was done just to prove all the constraints would work.

Alvin Gregorio

Quote from: Andy H on December 02, 2020, 03:21:21 PM
...
Hi Darryl.   The animation couldn't be simpler.   The drawing is fully constrained.  The only animation is rotating one short black line, from the centre of the large circle.  Basically there is only one command, (0 0 Rotate 0 0 -6).   Which was done just to prove all the constraints would work.

Does Animation Lab utilize Constraints as the basis of how AL works?
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: Alvin Gregorio on December 02, 2020, 03:44:47 PM
Quote from: Andy H on December 02, 2020, 03:21:21 PM
...
Hi Darryl.   The animation couldn't be simpler.   The drawing is fully constrained.  The only animation is rotating one short black line, from the centre of the large circle.  Basically there is only one command, (0 0 Rotate 0 0 -6).   Which was done just to prove all the constraints would work.

Does Animation Lab utilize Constraints as the basis of how AL works?

No Alvin.  AL generally uses Microsoft visual basic script.  The baby of the Visual basic family. along with pre-defined commands, and keyframes.  There is a one command that can manipulate an existing TC variable. But all the constraint variables and the setup has to be done within TC first.

Alvin Gregorio

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)

Henry Hubich

Here is--I suppose--another way to do it with Constraints. In the attached .tcw, to exercise the linkage, select the cyan line and rotate it. To modify the mechanism, make the "Dims" Layer visible and edit dimensions as required in the Calculator palette.

Henry H

Alvin Gregorio

#11
Quote from: Darryl W on December 02, 2020, 03:15:20 PM

Edit: Alvin figured out constraints some time back, around version 19 so if you are watching or reading Alvin please chime in so we can learn from you experience.

Yes, I'm very confident this can be done in TurboCAD with Constraints.  Maybe not as animated-ey (as the YouTube video John linked); but something someone could use for study.
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)

AussieBloke

Quote from: Andy H on December 02, 2020, 03:21:21 PM
Quote from: Darryl W on December 02, 2020, 03:03:02 PM

Andy thanks for the animation, so thats 2 out of 2 for your AL efforts well done and thanks mate.

Hi Darryl.   The animation couldn't be simpler.   The drawing is fully constrained.  The only animation is rotating one short black line, from the centre of the large circle.  Basically there is only one command, (0 0 Rotate 0 0 -6).   Which was done just to prove all the constraints would work.

Andy Ive just downloaded and I will test it out. Would or could you answer some questions regarding the constraints?

Edit: Thanks mate.

AussieBloke

Henry can you please explain your process for setting up these constraints, which constraints you used, why you used them?

Im trying to understand which constraints to use and where to use them.

Seems that based on the constraints image I posted here that theres much more going on than what I bargained for.

Edit: Thanks Henry for your wqrm file.

Andy H

Quote from: Darryl W on December 02, 2020, 07:05:11 PM

Andy Ive just downloaded and I will test it out. Would or could you answer some questions regarding the constraints?

Edit: Thanks mate.

I knocked up a little (one page) pdf, with the steps I used.  (I Was waiting for dinner to cook).  I do have a tendency to 'over-complicate' things.  So you will find Henry's method of using dimensions a lot better.  But as with many thing within TC, there are multiple ways to accomplish something. 

Henry Hubich

Quote from: Darryl W on December 02, 2020, 07:40:22 PM
Henry can you please explain your process for setting up these constraints, which constraints you used, why you used them?

Im trying to understand which constraints to use and where to use them.

Seems that based on the constraints image I posted here that theres much more going on than what I bargained for.

Edit: Thanks Henry for your wqrm file.

Sure, Daz. Working on it.

Henry H

AussieBloke

Thanks Andy for the pdf file, Ive worked out my constant and continuing error with constraints it was Fix Geometry. Geewiz I (shoulda/coulda/woulda ) should have read further into the definition. :-X

Every time Ive encountered Fix Geometry Ive mis-read it, and misunderstood its meaning altogether. Now Im good.

Henry dont go to any trouble on my part alone. Im sure ro read in detail anything you publish.  :)

Henry Hubich


AussieBloke

Quote from: Henry Hubich on December 04, 2020, 11:57:37 AM
Here ya go...

Henry H

Much appreciated Henry for you to take the time to enlighten me on constraints, now I can move forward with confidence that between Andy and yourself I got the right answers that make my latest designs a winner. Thanks mate.  :)

Henry Hubich

Quote from: Darryl W on December 04, 2020, 07:07:54 PM
Quote from: Henry Hubich on December 04, 2020, 11:57:37 AM
Here ya go...

Henry H

Much appreciated Henry for you to take the time to enlighten me on constraints, now I can move forward with confidence that between Andy and yourself I got the right answers that make my latest designs a winner. Thanks mate.  :)

'Twas my pleasure, Daz.

Henry H

Henry Hubich

In v2020PP you can animate the constrained WQRM by applying a constrained angular dimension to the orientation of the crank and applying the new Constraints>Animation tool to this dimension. (You might have to go to Tools>Workspace>Customize to gain access to this tool. I did.)

Henry H