Divide Existing line into "n" equal parts

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Divide Existing line into "n" equal parts

techieey
http://forum.librecad.org/Line-Dividing-tp5707225.html
Above link also asks the same question.

Is there some way that I can directly split a line into "n" equal parts or in a ratio say 1:3 or get nodes.

The line is already drawn in the file.

Only thing that comes in my mind is:
Measure length, calculate coordinates manually and draw points at the calculated coordinates.
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

ravas
The "Snap Middle" mode allows you to choose different divisions.
That in combination with Modify->Divide could work.
Unfortunately the divide tool cancels itself after you divide something.
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

dxli
Another way:

1, scale the line by a factor of 1/n: Modify -> Scale, around one end (say, the start point), uniform scaling, and by a factor 1/n (yes, you can type in 1/3 instead of 0.333333, etc.);
2, copy, reference point=start point, target point = endpoint, number of copies = n - 1

ravas wrote
The "Snap Middle" mode allows you to choose different divisions.
That in combination with Modify->Divide could work.
Unfortunately the divide tool cancels itself after you divide something.
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

dellus
In reply to this post by techieey
An other one, just for fun. But dxli's is best.

divide.jpg
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

dxli
I feel you didn't recall the middle school geometry precisely

Played a little bit with compass_edge here:

Compass_edge.dxf

dellus wrote
An other one, just for fun. But dxli's is best.

divide.jpg
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

dellus
Compass_edge showed no content when opened in LC, draftsight didn't like it either.
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

ravas
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

dellus
In reply to this post by ravas
After having had a proper look at it, "snap middle" and selecting multiple middle points is the built-in tool for this purpose, just not so obvious, a bit hidden. Maybe it should be made more visible somehow.
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

dellus
May be it should be made an extra function or renamed "snap to dividing point".
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

techieey
In reply to this post by ravas
ravas wrote
The "Snap Middle" mode allows you to choose different divisions.
That in combination with Modify->Divide could work.
Unfortunately the divide tool cancels itself after you divide something.
This is really quick if a person just wants to use the points (division).

That in combination with Modify->Divide could work.
But, first a person should draw points using snap middle. then turn snap middle off. Now use the "divide command easily.
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

techieey
In reply to this post by dxli
dxli wrote
Another way:

1, scale the line by a factor of 1/n: Modify -> Scale, around one end (say, the start point), uniform scaling, and by a factor 1/n (yes, you can type in 1/3 instead of 0.333333, etc.);
2, copy, reference point=start point, target point = endpoint, number of copies = n - 1
Your solution is very good for dividing.
Thank you all for the answers.
Reply | Threaded
Open this post in threaded view
|

Re: Divide Existing line into "n" equal parts

techieey
In reply to this post by dxli
@dxli and @dellus
Thanks for sharing different (fun) ways to divide (though a person will not use them during work).