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.

Coordinate points

Started by AussieBloke, August 18, 2021, 03:06:01 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

AussieBloke

Does anyone know how to get the X & Y absolute coordinate point values to display on screen?

AussieBloke


Torfinn

Use the coordinat ppm Nikki put out in that tread and you will get it, but you need to do it manually, 1 by 1 :)

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

John R

For just X & Y, try "AddOns / SDK Samples / Insert / Custom Object2" and select "CoordText.Coordinate" from the list. This will place X/Y Coordinate Text at 0/0. Select the the object and move the reference point to the + plus sign. Engage the Rubber Stamp tool and place copies at the necessary vertices; those coordinates will appear in the copies.
John R.

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

Henry Hubich

#4
Quote from: John R on August 18, 2021, 04:31:23 PM
For just X & Y, try "AddOns / SDK Samples / Insert / Custom Object2" and select "CoordText.Coordinate" from the list. This will place X/Y Coordinate Text at 0/0. Select the the object and move the reference point to the + plus sign. Engage the Rubber Stamp tool and place copies at the necessary vertices; those coordinates will appear in the copies.

That does not work for me in 2021 or 2020 Model Space, John. First problem is that the object is NOT inserted at 0/0--but when I select it, the IBar nevertheless reports its location as 0/0. Moving it to the true 0/0 changes its text to something completely wrong. Second problem is that the text reports values only as integers.

It works a little better in Paperspace, reporting coordinates almost correctly based upon the origin at the bottom left corner of the page. But it still reports integer values only. And the text is messed up, the X value character(s) overlapping the Y value character(s). Also, in Paperspace Properties>Other>Coordinate Text>Go to Page doesn't work. (It does work in MS.)

Another half-baked tool, IMO.

Henry H

murray dickinson

#5
You can copy and paste from the TC Coordinates palette.  Use the options to strip off details you don't want, you get a bare comma (or tab or semicolon) delimited text file, 3D coordinates,.  I find it most convenient to strip off the top coordinate in the palette list with select and ctrl + x, ctrl + v in the drawing window, relocate the inserted text to where you want it (at least the coordinates have top LH reference point justification), cancel selection in the drawing window, return to palette and repeat.

*edit* forgot to mention that of course it's easy to tell where each coordinate is appropriate because all ya gotta do is match the text with the x and y locations in the Inspector Bar and hit V.

nikkipollard

#6
Darryl I think I have posted this ppm before.
It works in 2d or 2d/3d depending mode.
Save to your library - Unfortunately the z option doesn't work.
The Ron,Ron2 and tex4  are  ppm macros and need to be in the same folder or a folder called macro in the same folder as the coordinate ppm
Drag the coordinate  ppm onto your drawing and the coordinates should update.
If the coordinates don't update when you move the marker - use place on workplane.

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

AussieBloke

Thanks Nikki, awesome.  ;D

Alvin Gregorio

#8
Quote from: Henry Hubich on August 18, 2021, 06:08:27 PM
Quote from: John R on August 18, 2021, 04:31:23 PM
For just X & Y, try "AddOns / SDK Samples / Insert / Custom Object2" and select "CoordText.Coordinate" from the list. This will place X/Y Coordinate Text at 0/0. Select the the object and move the reference point to the + plus sign. Engage the Rubber Stamp tool and place copies at the necessary vertices; those coordinates will appear in the copies.

That does not work for me in 2021 or 2020 Model Space, John. First problem is that the object is NOT inserted at 0/0--but when I select it, the IBar nevertheless reports its location as 0/0. Moving it to the true 0/0 changes its text to something completely wrong....

Henry H

I had the same issue Henry.  Then I figured out what John meant by "... move the reference point to the + plus sign".  There's a little Cross that is associated with this coordinates object. It's a little above the Center of Extents-- a little above the default Reference Point after insertion.  I was snapping to a Black Cross Point object, so I couldn't see the black cross of the SDK object, superimposed over the top of my Cross.

I think what John meant is something like:  After first insertion, relocate the SDK object's Reference Point to the Cross within it; Then use Rubber Stamp to ascertain X,Y coordinates of other points, snapping the Reference Point (which is now at that Cross) of that SDK object to that point (location).
____
Yeah, it's too bad the developer of the tool did not associate the precision of it to the Drawing Spaces' Precision setting; or incorporate an adjustable precision setting within the tool.
Using the Stacked or Cartesian option of the SDK CooridText.Coordinate tool, available in Properties after insertion, seems to display a better result.  A Precision of 2 (2 decimal places).
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

#9
An example and illustration in regards to my just-previous post attached below.

That SDK object's Properties cannot be gotten to via Selection Info; need to use its Properties window, after insertion.
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

Quote from: Henry Hubich on August 18, 2021, 06:08:27 PM
Quote from: John R on August 18, 2021, 04:31:23 PM
For just X & Y, try "AddOns / SDK Samples / Insert / Custom Object2" and select "CoordText.Coordinate" from the list. This will place X/Y Coordinate Text at 0/0. Select the the object and move the reference point to the + plus sign. Engage the Rubber Stamp tool and place copies at the necessary vertices; those coordinates will appear in the copies.

That does not work for me in 2021 or 2020 Model Space, John. First problem is that the object is NOT inserted at 0/0--but when I select it, the IBar nevertheless reports its location as 0/0. Moving it to the true 0/0 changes its text to something completely wrong. Second problem is that the text reports values only as integers.

It works a little better in Paperspace, reporting coordinates almost correctly based upon the origin at the bottom left corner of the page. But it still reports integer values only. And the text is messed up, the X value character(s) overlapping the Y value character(s). Also, in Paperspace Properties>Other>Coordinate Text>Go to Page doesn't work. (It does work in MS.)

Another half-baked tool, IMO.

Henry H

All SDK tools are half-baked, so I rarely use them. If you point out what's wrong with it, expect a 5 year wait for a fix; maybe.

Maybe the pix will explain about the Reference Point after insertion, needing to be moved to the proper location. Similar to the old BUG in the Star Point, where it needed to be corrected when initially inserted. 
John R.

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

AussieBloke

Im on my mobile phone now, John why are you using v11.2 to demonstrate coordinate points?

Appears that Alvin is using a later version.

John R

Quote from: Darryl W on August 19, 2021, 01:14:02 PM
Im on my mobile phone now, John why are you using v11.2 to demonstrate coordinate points?

Appears that Alvin is using a later version.

I checked version 11 to see if anything had changed since then. No change (upgrades or improvements) between version 11 to version 28.
John R.

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

AussieBloke

Thanks to all for the replys, initially I thought that there would be a simple solution hence the request for howto get the coordinates points. But I couldnt see the forest for the trees as Ive used the tools mentioned below before, but just plain forgot about them.  ::)

So I appear to be getting the correct info by just using the measuring tool and the measuring info pallet information. Gotta watch out for just selecting an object by using sekes is not accurate, so I used the Geometic Aids to assist with grabbing the correct vertex once the pink x mark appeared over the intended target.  ;D

That said this method is by far the slow way home, especially if theres lots of points on screen. Taking a look at Johns idea via Alvins posted example above.  ;D

Alvin Gregorio

Quote from: Darryl W on August 19, 2021, 03:19:45 PM
...

That said this method is by far the slow way home, especially if theres lots of points on screen. Taking a look at Johns idea via Alvins posted example above.  ;D

Nikki's PPM is the best, most efficient, method.
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

I found this document online, but I suspect its also in the help file. I cant get the hotkeys to work so that I can view the coordinates here, what am I doing wrong?

Hotkey: A, Shift+A

I tried, a then Shift a, Shift a then a but no good, please explain, did I need caps lock on?

Alvin Gregorio

#16
Quote from: nikkipollard on August 18, 2021, 11:28:42 PM
Darryl I think I have posted this ppm before.
It works in 2d or 2d/3d depending mode.
Save to your library - Unfortunately the z option doesn't work.
The Ron,Ron2 and tex4  are  ppm macros and need to be in the same folder or a folder called macro in the same folder as the coordinate ppm
Drag the coordinate  ppm onto your drawing and the coordinates should update.
If the coordinates don't update when you move the marker - use place on workplane.

Hi Nikki.  I can't get your Coordinate Marker Parametric Symbol, once inserted, to Scale below 1-- a fraction of 1, such as .5

Edit:  I altered the PPM script to allow for 10-decimal place minimum.  That 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)

Alvin Gregorio

Quote from: Darryl W on August 19, 2021, 03:38:24 PM
I found this document online, but I suspect its also in the help file. I cant get the hotkeys to work so that I can view the coordinates here, what am I doing wrong?

Hotkey: A, Shift+A

I tried, a then Shift a, Shift a then a but no good, please explain, did I need caps lock on?

By default Darryl, we are already in Absolute Coordinates mode.  So hitting the Hotkey combination won't make anything in TurboCAD display differently.  Not even a hiccup.
Switch to Relative mode, then back again, if you want to test the Hotkey combination.
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

#18
Thanks for your help, John (Reply #10); it works now. Besides moving the Reference Point, I had to switch the Coordinate Type to "Cartesian" and switch my IBar to 2D mode. Reported locations in MS are correct but rounded off to two decimal places.

Henry H


Torfinn

If you only want to see them and not written in drawing area, then select the object and open Metric in SI palette.
From there you can also get it out to a pdf if wanted.
Else the way John mention seems to be the quickest, at least for 2D as you can rubber stamp them, the ppm is a little bit slower as you cant rubber stamp the ppm, but you can use normal copy on them ;) :)

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

Alvin Gregorio

#20
Attached.  Example of using Nikki's PPM script.  I very slightly modified it-- Taking away the Units=mm (so should work okay in all Space Units; I don't know/think this is necessary in this case); and allowing a 9-decimal scale value (such as .000000001).  I'd like to get it to have the option (parameter) to round off to the 10th place also; maybe Nikki can advise on what that edition would be.

I Rubber Stamped the first inserted Parametric Symbol, initially inserted at 0,0,0, to the other points.
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)

Torfinn

Then i was wrong Alvin, as i believed it did not, but it after a double check i see it actually do  ::)
So then the ppm is quickest

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

Alvin Gregorio

#22
Torfinn-- Maybe you or Nikki can remind us how to get that PPM into our TC Library.  So that we don't have to load it in the PPM script editor to insert it.  It has a Macro associated, so that's even more confusing to me.  I really am a complete novice at using the Library.
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

#23
Quote from: Alvin Gregorio on August 19, 2021, 04:18:52 PM
Torfinn-- Maybe you or Nikki can remind us how to get that PPM into our TC Library.  So that we don't have to load it in the PPM script editor to insert it.  It has a Macro associated, so that's even more confusing to me.  I really am a complete novice at using the Library.

I figured it out.  Just went through the Library.  Could not get a Thumbnail for it other than the ? though.
Now just need to figure out how to get the round-off parameter allowable to a higher (i.e., lower) value.
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)

Torfinn

You just put them in the My Symbols folder and they will load every time you start TC, if TC is open already, and you add some new, just go to My Symbols folder and right click and reload Library.
Or whatever folder folder you have them in, then you click on Load Folder on top of the menu, and browse to the actual folder.
After i delete everything i made in v 2018 by accident  ::) i now have them outside TC and just load them when needed.
I lost some, but not to many, the only boring one to loose was Curtain wall, the sales version of it.

C:\Users\User\Documents\TurboCAD 2020 x64\Symbols\My Symbols is the normal place

And inside the My Symbols folder we make a folder called Macro or whatever name we like, to put the macro files in.
Macro ppm's can be inside My Symbols also, but more tidy to have them in a separate folder.
The only thing that is important is that the macrofiles are in the same folder or 1 step down from My Symbols, else TC will not find them and the ppm that use them don't work correct or not work at all.

Torfinn

Edit;
See you found it, right click on the ? mark and select what view and the remake Thumbnail, but be aware to not collect all, as there is many inside TC ;), so the symbol or current category, you can also in that menu choose different way you want then to look like, and color
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

Alvin Gregorio

Quote from: Torfinn on August 19, 2021, 04:55:09 PM
... right click on the ? mark and select what view and the remake Thumbnail, but be aware to not collect all, as there is many inside TC ;), so the symbol or current category, you can also in that menu choose different way you want then to look like, and color

Thanks Torfinn.  It seems that TurboCAD cannot make a Library Thumbnail for this particular .ppm Symbol.  I assume that is because the .ppm does not actually create an object.
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)

Torfinn

Then i think you try on a Macrofile, and not Coordpoint2, the 2 "Ron" don't work

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

AussieBloke

Alvin can you share your modified Nikki ppm?

Alvin Gregorio

Quote from: Torfinn on August 19, 2021, 05:13:00 PM
Then i think you try on a Macrofile, and not Coordpoint2, the 2 "Ron" don't work

Torfinn

That is Okay.  I can be Okay with the ?
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: Darryl W on August 19, 2021, 05:15:24 PM
Alvin can you share your modified Nikki ppm?

I did.  In the file I attached.  Attached again herewith.

Unless you meant you wanted the PPM script; which is a different thing.
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


Alvin Gregorio

#31
Quote from: Darryl W on August 19, 2021, 05:19:42 PM
ppm please  ;D

Attached.  Until we move from novice to intermediate regarding all things PPM, I think it's best and easiest and more fool-proof to just leave the "macros" (I don't even know if that's what they-- Tex4.ppm, RON.ppm, Ron2.ppm-- are actually termed) in the same folder as the main PPM script.
Meaning that, for now, I suggest just "Extract All" within the same folder.
_____
You will have to open the "coordpoint2; AlvinEdit -1.ppm" script within TurboCAD's PPM script editor.  Then choose the "Insert Parametric Part" icon/button at the top of that palette.
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: Alvin Gregorio on August 19, 2021, 05:24:30 PM
Quote from: Darryl W on August 19, 2021, 05:19:42 PM
ppm please  ;D

Attached.  Until we move from novice to intermediate regarding all things PPM, I think it's best and easiest and more fool-proof to just leave the "macros" (I don't even know if that's what they-- Tex4.ppm, RON.ppm, Ron2.ppm-- are actually termed) in the same folder as the main PPM script.
Meaning that, for now, I suggest just "Extract All" within the same folder.
_____
You will have to open the "coordpoint2; AlvinEdit -1.ppm" script within TurboCAD's PPM script editor.  Then choose the "Insert Parametric Part" icon/button at the top of that palette.

Yep got it, thanks Alvin.  8)

Torfinn

A Macro ppm is just a regular ppm where we take away the parameters, it should get it from the main file instead.
If you open the coordinate2 ppm you will see that there are some names with darker blue, that is where the file "call" up the macrofile and what info it should get from main file just after the dark blue name.
In the Macrofile there is an Input with same parameter names.
TC will see it as an external reference, hence why it is dark blue, compared to the rest that are blue.
The benefit of a Macrofile is that it can be re-used in other ppm's, in other words, we don't need to re-invent the wheel every time.

Another benefit is that we then can split up a ppm file in many different parts and assemble it all in the main file, this is good when the file is large, as there is an limit for how big a ppm file can be, earlier it was 36 Kb as the ppm was meant to make smaller stuff like small simple symbols, after my house construct ppm they double it to 72 Kb, but assume it's closer to 80 Kb in real life as my file stop when it was about 40 Kb, with stop i mean i can type what i want on keyboard, but it don't show/ get in to the ppm when it's full, so then SofDev told me about Macro's :) as my house ppm is about 100 Kb in total with around 10 macro files, and that is dang much plain txt to write.
But i'm sure it can be a much smaller file if i re-write it today, that house was my basic learning process  in a way.

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

nikkipollard

#34
Hi Daryl
The rounding off is a bit of an issue for me. Unless you don't want to Round off at all.
They didn't include a Round Function that works for ppm - so I  had to make a plan - sort of.
Using Mod which doesn't see decimals - which is a problem
My plan works most of the time but it's limited to 3 places - because it doesn't work after that.
If anyone has a better solution I would be very happy.

The reason I suggested putting the mini ppms(aca macro) in a folder called macro is so that you don't see them in the library.
They wont make a thumbnail - because they are ad hoc calculators - and they have no parameters.
Nothing magic about it - If TC cant find the Mini ppm in the same folder it looks for a folder called macro.

- Note on the inbuilt round function in the parametric script manager - incase someone wants to fix it.
If you type round(2562.321,1)
The word round would be light blue - Which suggests it should work. - it crashes TC



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

Torfinn

I don't understand why we should use 10 decimals, we are not making rockets, and i don't believe even the people that do use 10 decimals.

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

nikkipollard

#36
exactly that's why I was trying to Round them off - (get rid of them)
Especially when you work with millimetres and bricks and Blocks.

But I understand That when you are working with Inches - those decimal points are important

All I did was multiply by the number of decimal places to the power of 10.
There is no floor function - so I had to use that number trick that someone posted on the form years ago.
then divide  again by the same multiple of 10.
Really complicated - when there is a broken round function in ppm.

I think parameter points round off to 4 decimal places.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

#37
I didn't follow all that.  I just woke up, brain hasn't kicked in, and my PPM scripting experience and knowledge is very limited and it has been quite a few months since I last experimented with scripting.

But, in a nutshell-- Nikki's coordinate (ascertain/annotate points coordinates) PPM script and the Parametric Symbol it creates is a good one.  Useful.  Useful for almost exactly what Darryl asked for initially in this thread.
___
P.S.:  The 10-decimal-place was just a see if it can be done thing
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)