DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

distributing points equally along a curved line?

Started by Richardpiper, January 07, 2008, 06:10:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Richardpiper

I need to evenly distribute a large number of points (over 80) along a curved shape ( actually a loop). The points are to indicate drilling locations.
I can't figure out how to do this. Can anybody help?
I've been tearing my hair out on this one so I hope someone knows how to do it!
Thanks
Richard

Mark Laing

Is it a single line/entity? A series of curves? Could you describe it? Could you upload a copy of it?  Designcad version? You want the points placed evenly by curve distance? Or chord distance? Or to achieve equal area coverage? We need a little more to go on.

sladden

G'day.
As long as your line is continuous, all you have to do is :- Select 'Tickmark' enter your number of equal spaces and click on or near the line you want to divide up.

sladden

Oops! sorry about that. My answer was posted before i finished. I meant to add :- If the line is not continuous then go into Edit/Select Edit/Combine Lines (or hit 'b' on the keyboard) and compine the length you want to divide up and then use the 'Tickmark" command.

Richardpiper

Quote from: Mark Laing on January 07, 2008, 07:11:24 AM
Is it a single line/entity? A series of curves? Could you describe it? Could you upload a copy of it?  Designcad version? You want the points placed evenly by curve distance? Or chord distance? Or to achieve equal area coverage? We need a little more to go on.


Thanks for the reply.
It's Designcad Express v12.
I don't know what most of the above means! It will be a single line constructed from a number of curves, forming a closed loop. There will also be a short straight section. I just want points which my CAM program (Sheetcam) will recognise so that I can drill a hole at each point, equally spaced along the line.
Richard

Richardpiper

Quote from: sladden on January 07, 2008, 07:17:14 AM
G'day.
As long as your line is continuous, all you have to do is :- Select 'Tickmark' enter your number of equal spaces and click on or near the line you want to divide up.


Thanks for the suggestion, but will the tickmarks be 'points' in the sense that they will be recognised when I upload the drawing to my CAM program?
Richard

Rob S


No, each tickmark will be a short line.

What you can do then is to draw a new line or curve by snapping to eack of the tickmark intersections with your original line, and then delete the original lines, and tickmarks.

That will give you a new line with the points you want.
User since forever

Richardpiper

Quote from: Rob Schippers on January 07, 2008, 08:50:43 AM

No, each tickmark will be a short line.

What you can do then is to draw a new line or curve by snapping to eack of the tickmark intersections with your original line, and then delete the original lines, and tickmarks.

That will give you a new line with the points you want.

Thank you! Now I can make some progress. As a newcomer, I find CAD software incredibly complex and frustrating- now I have something I understand.
Richard

Dr PR

One problem with using tickmarks to set points on a closed loop is that you have no control over where the points will be placed. They will be equally spaced around the curve, but the locations are unpredictable (as far as I have been able to determine).

However, if you break the curve (edit it in point select mode) DesignCAD will place tickmarks at both ends of the line. Afterward you can reconnect the line ends (point edit mode). If you do this you must be VERY careful to not change the line length when you break it, else the spacing will not be an exact fraction of the final closed line length.

One way around this on symmetrical objects is to draw half of the line along an axis of symmetry and place tickmarks on it. Then set a handle on the line end and mirror image the line and tickmarks. This will complete the closed curve, with tickmarks evenly spaced all around.
DesignCAD user since 1987

crckrjck

If you want points instead of tickmarks, you can use linear array and put pointmarks 'along a curve'. this also lets you set a starting point and direction aas well as a set spacing if you like.

Place a pointmark at the starting place and then select ARRAY. Enter # of copies. Choose ALONG A CURVE.

Gravity Snap onto the original pointmark and the copies will be distributed along the line/curve equally.

You could also just do this with the 'holes' you want.
;D

bdeck

#10
Richard,

CJ is correct.

However, DC has an interpolation bug which has gone unfixed for a number of years.

Be certain to zoom into each hole center to make certain it is within tolerance.

Regards,

BD


Dr PR

crckrjck,

Good point! Your method is much better than tickmarks - wish I had thought of it sooner.

Richardpiper,

You can array anything along a curve, including circles to show hole position and size. Just draw a circle, "X" or whatever, and set a handle on the object (CTRL H) at the point you want to be on the curve. Use "Draw/Array" and check the "Array along a curve" box. If your original object is not on the curve do not check the "Use Original as the First Copy" box. Set the number of copies and then click on a point along the line. Copies of the original object will be positioned at regular intervals along the curve.

However, as bdeck commented, getting the first point where you want it on the curve can be a challenge. Fortunately, you do not have to click exactly on the curve. Just click to a point near the curve and DesignCAD will position the first copy of the object at the closest point on the curve to where you clicked. It is odd that DesignCAD can position objects exactly on the curve in this way, but can't find the intersection of lines and curves accurately as bdeck warns.
DesignCAD user since 1987