News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

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.

total contour length measurement

Started by tim7000, January 01, 2017, 11:55:35 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

tim7000

Hi,
Happy New Year!
I want to measure the total contour length of various designs. These designs are of irregular shape made just of lines and arches. I use a TCAD Deluxe 19.2.
Can somebody help? Thank you.
Tim

Andy H

Welcome

Are they separate lines arcs snapped at vertex or completely separate objects, either way, unfortunately you can't just select everything and read the total length (to my knowledge).

If separate, one would need to read the lengths (length, perimeter or arc length), in the selection palette - metrics and manually add them together.

If snapped at vertex there are a few ways, either as above, or on a copy of the file, use the join polyline tool to join everything and read the length / perimeter, or again on a copy of the file, use the chain polyline tool to trace the object and read its length or perimeter (only reason for copy is to save altering original file).

If they were just lines / polylines one could use the tools / measurement / distance to snap to vertex points and read the distance but this is of little use if the object contains arcs.

tim7000

Hi Andy and thank you for reply!

They are separate objects made of arches, and lines. Object are closed (elements that are made from are head-to-end). These objects need to be measured together (of preference). Could also be one-by-one if there is no other way. I am not an advanced designer but I use the TCAD for making my products and as far as this takes I manage pretty well.

Please find attached a DXF to have an idea how the objects are.

Tim

Torfinn

#3
You can Hatch it, if the profile is closed use Pick Hatch, then select the hatch and explode one time, delete the hatch and you will be left with a Polyline that will give you the Perimeter of it, quick and easy

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

Henry Hubich

#4
Draw a selection rectangle to include all of the elements of the object, then go to Format>Create Hatch. Open the Selection Info palette, select the newly created hatch, and read its perimeter (and area, too, if you're interested) under "Metrics" in the lower panel of the palette.

Henry H

P.S. I see that Torfinn got here first. Let me point out that the Create Hatch tool does not require the profile to be closed.

Andy H

Whichever method is used, I'd advise checking the profiles especially if they come from an outside source like dxf, for example, in the attached pic of one of the profiles, (I use chain poly to highlight the problem), the arcs don't meet, this will cause slight differences in the length / perimeter depending on the method used, and how many decimal places are used, if using for example 4 decimal places you may wish to use more than one method to see if there are any discrepancies.

For this profile, both pick-point-hatch and chain poly will likely fail (though may not always) whereas create hatch and join poly will succeed but may be a few hundredth's out in terns of measurement..