News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

changing a line but not his length

Started by Régis Fraisse, December 24, 2019, 08:50:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Régis Fraisse

Imagine a rope. You can move it with your hands, you can have many geometry and the rope has always the same length.

My wish is to do that with a line on TurboCad.
since v3,  now v18DL and v2020PL on Windows 10 Pro 64 ; 32 Gb RAM ; i7 processor @ 2.7 GHz

Alvin Gregorio

Quote from: Régis Fraisse on December 24, 2019, 08:50:42 AM
Imagine a rope. You can move it with your hands, you can have many geometry and the rope has always the same length.

My wish is to do that with a line on TurboCad.

Agreed.  I've long wished for this ability.  It would be very useful.
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)

John R

Have you tried using Constraints?

Use the "Auto Dimension" from the Constraints toolbar on a Line. Activate the Edit Tool and move an endpoint node to a new location. The line moves, but it retains its length. It will rotate unless both nodes are selected. From what I see, nothing is visible when moving.
John R.

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

Henry Hubich

What am I missing here? I can select an existing Line and moved and/or rotate it like any other entity without changing its length.

Henry H

Régis Fraisse

Quote from: John R on December 24, 2019, 12:05:34 PMHave you tried using Constraints?

Use the "Auto Dimension" from the Constraints toolbar on a Line. Activate the Edit Tool and move an endpoint node to a new location. The line moves, but it retains its length. It will rotate unless both nodes are selected. From what I see, nothing is visible when moving.
OK, but it works only il I don't change the geometry of the line. My with is for example to put a node on the line, move this node and the total length doesn't change, and make a filet on the angle, etc. like with a rope.
Henry, maybe that answers your question.
since v3,  now v18DL and v2020PL on Windows 10 Pro 64 ; 32 Gb RAM ; i7 processor @ 2.7 GHz

Henry Hubich

#5
Quote from: Régis Fraisse on December 26, 2019, 01:47:43 AM
Quote from: John R on December 24, 2019, 12:05:34 PMHave you tried using Constraints?

Use the "Auto Dimension" from the Constraints toolbar on a Line. Activate the Edit Tool and move an endpoint node to a new location. The line moves, but it retains its length. It will rotate unless both nodes are selected. From what I see, nothing is visible when moving.
OK, but it works only il I don't change the geometry of the line. My with is for example to put a node on the line, move this node and the total length doesn't change, and make a filet on the angle, etc. like with a rope.
Henry, maybe that answers your question.

Yes, it does. Thanks. And I agree that this would be a useful feature.

Henry H

Jeff_in_90620

Quote from: Régis Fraisse on December 26, 2019, 01:47:43 AM
My ... example to put a node on the line, move this node and the total length doesn't change, and make a filet on the angle, etc. like with a rope.

Then it's not a Line any more; it's a Polyline with Arc segments, but it does reveal a failing in the Polyline command's operation; when switching from a Line segment to an Arc segment, the Arc's start point is always tangent to its predecessor's segment, but a Line segment cannot be locked tangential to the Arc segment that precedes it.  For years, my preferred workaround has been to place Circles, then draw Lines tangent to the Circles, then V-snap a Polyline around the perimeter.

I suppose we could request a new command (let's call it Rope) where the length is specified first, followed by the origin point.  Then, as the cursor is moved around the screen, the rope is continuously re-drawn as if in Polyline mode, with each position click being incorporated into the resulting rope until the total length is used.  All segments, Line or Arc, would be tangential to the preceding segment.  If the last segment is desired to be an Arc, then the user can click and drag to adjust.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

"...but a Line segment cannot be locked tangential to the Arc segment that precedes it."

Jeff, if you set "Relative angle" to zero, the line segment will be tangent to the preceding arc. But it's not locked (even if you click the "Lock" icon), and you have to reset it each time you draw a new line segment following an arc.

Henry H

Jeff_in_90620

Quote from: Henry Hubich on January 04, 2020, 05:32:18 PM
if you set "Relative angle" to zero, the line segment will be tangent to the preceding arc. But it's not locked (even if you click the "Lock" icon)...

In my experiment, the Lock setting is obeyed, and remembered, too, so multiple additional line segments can be added (but it's reset if you switch to an Arc segment).


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Régis Fraisse

Quote from: Jeffin90620 on January 04, 2020, 03:38:20 PMThen it's not a Line any more; it's a Polyline with Arc segments
... and/or with curves (spline, bezier, sketch)
since v3,  now v18DL and v2020PL on Windows 10 Pro 64 ; 32 Gb RAM ; i7 processor @ 2.7 GHz

Henry Hubich

#10
Quote from: Jeffin90620 on January 04, 2020, 06:03:41 PM
Quote from: Henry Hubich on January 04, 2020, 05:32:18 PM
if you set "Relative angle" to zero, the line segment will be tangent to the preceding arc. But it's not locked (even if you click the "Lock" icon)...

In my experiment, the Lock setting is obeyed, and remembered, too, so multiple additional line segments can be added (but it's reset if you switch to an Arc segment).

Jeff

Sorry I wasn't clear; that's what I meant.

Henry H