News:

Please remember to do a search before you ask a question!

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.

End a line relative to the end of another line.

Started by pcbtmr, August 23, 2022, 07:52:47 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

pcbtmr

This may be obvious but I haven't been able to figure this out.
I want to create a line but end it relative to the typical snap points. (DeltaX, DeltaY).
How is this accomplished?

Thanks.
TCW2021 DLX

Jeff_in_90620

When you create a Line, you can only specify Length and Angle in the Inspector Bar.

If you want the Line to go from Point A to Point B, with B a specific delta X and delta Y from A, then place a Point at A, invoke Make Copy (easiest way is to place the cursor over the workspace, right-click and pick it from the list), select the Point at A and enter the Delta X and Delta Y values in the Inspector Bar.

Then, draw a Line from Point A to Point B.

Alternatively, you could use a spreadsheet and some basic trigonometry to calculate the Length and Angle from Point A.


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)

Torfinn

Isn't the "Extended Ortho" snap for this kind of things, SEKE = x

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Jeff_in_90620

Quote from: Torfinn on August 23, 2022, 05:07:20 PMIsn't the "Extended Ortho" snap for this kind of things, SEKE = x

You still have to place a reference.


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)

Andy H

Quote from: pcbtmr on August 23, 2022, 07:52:47 AMI want to create a line but end it relative to the typical snap points. (DeltaX, DeltaY).

########################

NOTE.  I don't actually understand what you mean. so just guessing as to whether the following may be useful.  Probably won't be, but I'll post it anyway.

#######################


Assuming you normally work in absolute coordinates.

If you are clicking or snapping to set the start point of the line.  And want the end a specific x,y from the start.
Press R (for relative coordinates).  Start line    Tab to coordinate fields (bottom right of TC).  enter X and Y (z should be 0).  Press enter.    Press A to get back to absolute coordinates.

If the end is x,y relative to a another object.
Press R.  Start line.  Press L (for relocate origin).  V snap origin to the other object.  tab to coordinate field and enter x and y,  These may be plus or minus values, depending on location.  Press enter.  Press A. 

Or do what I do.  just draw a 2d rectangle of the required size, V snap the line, delete or reuse the rectangle.     

Torfinn

Quote from: Jeffin90620 on August 23, 2022, 05:51:50 PM
Quote from: Torfinn on August 23, 2022, 05:07:20 PMIsn't the "Extended Ortho" snap for this kind of things, SEKE = x

You still have to place a reference.


Jeff



Yes, but he want to snap relative to something, so if that should be possible there need to be something in the drawing already.
But i can very well be wrong, it will not be the first time in case  ;D

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

murray dickinson

Draw a polyline from start to snap point, a second segment to the relative point, end the polyline, use node edit/edit tool to remove the middle node.

pcbtmr

For clarification, I want to create a line from Point A to Point B.  Point A is arbitrary and its relationship to Point C is unknown (ie: requires lots of preprocessing to determine, too much work).  Point B of the line is to end at DeltaX, DeltaY relative to Point C.
The simplest that i have come up with is create a DOT at DeltaX,DeltaY from point C, then create the line from A to the DOT.  I am shooting for a single operation rather than 2 step operation but maybe that's not within TC's capabilities.

Thanks.
TCW2021 DLX

murray dickinson

#8
Other programs like ViaCAD/Shark, AutoCAD, FreeCAD, allow you to use functions in their data fields and command lines, so you can enter [5-3, -6x7], etc and leave it to the program to evaluate.  TC, not.   As per your description, draw a polyline point A to point C, then point B relative to C and end.   Node edit remove point C leaves the line you're after.

Alvin Gregorio

Quote from: pcbtmr on August 24, 2022, 05:09:07 AMFor clarification, I want to create a line from Point A to Point B.  Point A is arbitrary and its relationship to Point C is unknown (ie: requires lots of preprocessing to determine, too much work).  Point B of the line is to end at DeltaX, DeltaY relative to Point C.
The simplest that i have come up with is create a DOT at DeltaX,DeltaY from point C, then create the line from A to the DOT.  I am shooting for a single operation rather than 2 step operation but maybe that's not within TC's capabilities.

Thanks.
Instead of speaking (typing) in arbitrary terms, pcb-- Can you provide us with the X,Y,Z coordinates of your hypothetical points A,B,C.

It would be more efficient, for relaying the response back to you, comprehensible.
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)

Dean

Quote from: murray dickinson on August 24, 2022, 05:18:04 AMOther programs like ViaCAD/Shark, AutoCAD, FreeCAD, allow you to use functions in their data fields and command lines, so you can enter [5-3, -6x7], etc and leave it to the program to evaluate.  TC, not.   As per your description, draw a polyline point A to point C, then point B relative to C and end.   Node edit remove point C leaves the line you're after.

Murray,
Turbocad has coordinate and formula entry in data field working in LTE mode.
I'm not sure if it works like the others as you described...
"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

Jeff_in_90620

Quote from: pcbtmr on August 24, 2022, 05:09:07 AMFor clarification, I want to create a line from Point A to Point B.  Point A is arbitrary and its relationship to Point C is unknown (ie: requires lots of preprocessing to determine, too much work).  Point B of the line is to end at DeltaX, DeltaY relative to Point C.

Andy H's suggestion above is ideal for your needs.

When you click to start the Line, tap the 'R' key (the <Shift> R key combo also works in TurboCAD's default key assignments).  The coordinate entry labels near the right side of the bottom (immediately to the right of the SNAP & GEO buttons) will change from X to ±X, etc.  Tab through the Inspector Bar entries until the desired changes are highlighted and enter the required numbers there.  Keep tabbing until all required entries are provided, then tap <Enter>.


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)

pcbtmr

This is exactly what I needed :)
Much appreciated.
TCW2021 DLX