News:

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

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.

Do Newer Versions have "Insert➔Coordinates of a Point"

Started by Alvin Gregorio, September 14, 2020, 05:22:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Alvin Gregorio

Did "they" ever incorporate the ability to "Insert➔Coordinates of a Point"?

I think it would be a combination of a Dimension Tool, a Multiline Text Tool, and the Measurement Tool.
Would be able to set "By World CS", "By Entity CS", or "By User Coordinate System".  Font and justification would be adjustable.  As would be the precision.

I know that's been asked for over the years; now, working with this Spline/Control_Points thing, it would be useful to quickly annotate some points locations.
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)

Jeff_in_90620

Try using the coordinate display along the bottom near the right.  Expect the Z coordinate entry to be inactive (you'll be using the current Workplane).

I honestly don't know if you can do this with earlier versions, but it's worth a try.


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)

Alvin Gregorio

#2
Quote from: Jeffin90620 on September 14, 2020, 06:30:00 PM
Try using the coordinate display along the bottom near the right.  Expect the Z coordinate entry to be inactive (you'll be using the current Workplane).

I honestly don't know if you can do this with earlier versions, but it's worth a try.


Jeff

[Edit: Plugging in the coordinate numbers shown below in the image into my now-6-control-point/6-Parameter sets (18 total, X,Y,Z) Parametric Spline I see that I probably misunderstood what the Wikipedia author was stating this image represents; I took a closer look at the numbers, they are obviously not coordinates that I am used to as Absolute Coordinates in TurboCAD]


I was looking for a Tool that resulted in something like this:




I recall that a few have asked for it over the years.   Just set the parameters/values, including which of the three options of Coordinate Systems (the Text aspect and the Dimension tool aspect; it'd probably fall under the category of "Dimension Tools", assigned a Dimension Style that has a Text Style assigned), and execute a Vertex Snap, and walla, there it is.
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

Has the Measurement Tool, Coordinates of a Point, always had a Z=0?
My version-21PP is that way.  Returns 0 for Z every time.

Am I doing something incorrectly?
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 September 14, 2020, 07:47:21 PM
Has the Measurement Tool, Coordinates of a Point, always had a Z=0?
My version-21PP is that way.  Returns 0 for Z every time.

Am I doing something incorrectly?

It is a bit 'iffy' in v21.  In v21 it appears to be recording the z position of the current workplane. and not altering for different heights. To measure 'z' one could close measurement info. go to front view, Plane by active view, change view, but leave workplane as front. (ISO or use mouse to rotate the view).  Then it will record the z height, but y will be constant. Whether there is some magic setting to make it work on all 3 axes, I don't know.

In v2020 if one is careful it will work.  However I still had some objects which it would not show the correct z height.

Better to use the TC coordinate palette, although primarily for 2d, it works with 3d spline and 3d polyline .  It shows the control point locations (frame vertex) of a spline, assuming it is ticked under the palette options.  and they can be saved as a csv, for editing in a spreadsheet.

nikkipollard

I don't know if any of this will help solve the problem but I have been playing with this - trying to learn the SDK.

First I tried to make one with a  ppm -  It seems to work with the user coordinates System- I presume that would be the  reason for the Z issues. The ppm is very useful for checking calculations of points in ppms. Just drag it from the library onto the point you want to check and you get a coordinate. If you move it just place on the workplane and coordinates change.
I have also noticed that if Moving the PPM in 2d mode then the coordinates change automatically without needing to place on workplane.
To Extract the XYZ coordinates you would need to explode the PPMs - I have added them as custom properties. So if you regenerate the custom properties you can extract them using the report tools.
The PPm uses a few macros - You need them all else it wont work.

I know these tools are available but I am trying to learn the SDK and This seemed like a simple project to learn from.
I also tried with the SDK encountering the same problem with the Z coordinate.
The SDK one seems to take longer to calculate and draw - but that could just be my bad programming skills.
I eventually tried drawing circles or points on the drawing and reading those points with the SDK using a bounding box to find the point and that worked.

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: nikkipollard on September 15, 2020, 12:16:29 AM
I don't know if any of this will help solve the problem but I have been playing with this - trying to learn the SDK.

First I tried to make one with a  ppm -
...

Thanks for the Reply and taking the time to share the .zip file Nikki.

Unfortunately, I haven't a clue how to make use of it.  I inserted the coordpoint2.ppm into a Drawing (just got a bunch of 0s, no matter where I placed it).  Saved the Parametric Symbol to my TC Library.  Dragged it in, snapping to a vertex; again, just three 0s (zeros).
I guess I'm not using it as you designed it.

The other PPMs in the .zip-folder-- I don't know what to do with.

-Alvin
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

Alvin,
TC 2020 has 3d coordinates then I just copied and pasted in the drawing.
"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

Henry Hubich

V2018 appears to be the earliest version that reports the Z position.

Henry H

nikkipollard

#9
Ok It might be because of the units . I have rounded the coordinates off which you probably don't want to do when working with bigger numbers - like feet and inches.(rounding off a fraction of a millimetre is not quite the same as rounding off half an inch)  Try changing the units in the ppm.
If you move the ppm try selecting it and placing it on  world. Or turn off 3d editing.

The other files are "macros" Sort of small ppms with little scripts with tasks you do often. I use them for calculations. The Ron and Ron 2 round the coordinates off . The text one is just my lazy way of adding text. And " LNE" is a line  - also me being lazy.
You can go into the script and remove the rounding off if you need to - just change dxron=Ron2() to dxron=x1 etc.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

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)

nikkipollard

#11
Hi Alvin
Most of the solutions I have are from looking at other ppms. Torfinn helped a lot too.

Yes the double quotation means do nothing.
The IF command Is conditional  , It works the same as excel.
When you use IF with a checkbox it presumes you are looking for a true answer.
If the checkbox is true - (1) then the program will do whatever is after the first comma - if it is 0 then it will do the last thing.  - If that makes sense.

The next question - working with text. I  Also saw this in someone's  PPM.- I wanted to do something like Concatenate in Excel
-make all the data one sentence.
In programming you can't add a number and words together because computers don't understand that.
The X Y and Z values are numbers - ""+X+""  seems to convert the value of X  to text. then I can join them together by using the plus sign. Any other Text also needs to be in inverted commas - because it is text (or a string)
"(" + "" +X+"" + " , " + ""+Y+"" + ")" would result in (200,100) because the value of X and Y are 200 and 100 respectively.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: nikkipollard on September 24, 2020, 10:24:49 PM
Hi Alvin
Most of the solutions...

Thank You Nikki!  That all makes sense to me.
___
Speaking of Torfinn-- I am now worried/concerned about his absence also.  I realized about a week ago that we haven't seem him here in a while.
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: nikkipollard on September 24, 2020, 10:24:49 PM
Hi Alvin
...
"(" + "" +X+"" + " , " + ""+Y+"" + ")" would result in (200,100) because the value of X and Y are 200 and 100 respectively.

What about the +X+?

What is that?, described with words.
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

Alvin Take a look in the PPM section. Andy gave a great explanation.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h