Draw equaly spaced lines

Post unfinished work here for feedback and advise.
Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Draw equaly spaced lines

Postby Chriss2016 » Sun Feb 14, 2016 12:37 am

Hello,
How do I draw 60 equally spaced lines perpendicular over a long straight line ?
Something like a ruler.
I don't know how to attach a picture.

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Draw equaly spaced lines

Postby ragstian » Sun Feb 14, 2016 12:59 am

Hi.

Several methods.

Draw one perpendicular line each end of your "ruler" -
mark one of the perpendicular lines - press ctrl-C for copy, paste it 58 times by keeping the left mouse button down while tapping the spacebar 58 times - count yourself. Once all are pasted select all the perpendicular lines including the two at the ends. Use the align (ctrl-a) tool - space equally.

Use tiled Clones - read the manual for this.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Sun Feb 14, 2016 1:00 am

Hi.

There are alot of ways doing so.

I would prefer using the interpolate subpaths lpe.
Like this.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Draw equaly spaced lines

Postby Moini » Sun Feb 14, 2016 8:45 am

If you're really creating a ruler, there's even an extension for this: https://github.com/brathering82/inkscape (this extension cannot only create straigth rulers, but also rounded scales, as in a car's speedometer).
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Re: Draw equaly spaced lines

Postby Chriss2016 » Sun Feb 14, 2016 5:30 pm

Thank you for your answers. I solved my problem.
But now i need to create 31 equally spaced lines over a circle. How to do it ?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Draw equaly spaced lines

Postby brynn » Sun Feb 14, 2016 6:31 pm

One way to do it is with radially tiled clones. You can find instructions at the top of Help menu > Tutorials > Tips and Tricks

There are other ways too, which maybe others will explain.

Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Re: Draw equaly spaced lines

Postby Chriss2016 » Sun Feb 14, 2016 7:51 pm

The lines i want to draw are short. It is something like a clock but the lines are not in the circle, but over the line of it

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Draw equaly spaced lines

Postby brynn » Sun Feb 14, 2016 8:09 pm

You can still do it this way. For the original vertical line, with the Selection tool, click a 2nd time to reveal the rotation handles and rotation center (little crosshair in the middle). Hold the Ctrl key and drag the rotation center far below the line. Then do the tiling.

As I said before though, there are other ways. Here's another.

Draw a circle using Ellipse tool (hold Ctrl key to make circle).
Duplicate.
Hold Shift + Ctrl keys while you drag a corner handle. This makes the 2nd circle concentric. The space between this circles creates the length of the lines or hatchmarks or tics, or whatever you want to call them.

Select both circles and do Path menu > Combine

Path menu > Path Effects
Click the blue plus sign and choose Stitch Sub-Paths.

Now you should see what this LPE does, and you can adjust the variables as needed. See the manual for details, if needed. And later you can make one or both circles transparent, or zero stroke width, or whatever.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Sun Feb 14, 2016 10:49 pm

31 equally spaced steps? This one goes eleven. 31 is way out of regular scale.

Also, check this topic.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Draw equaly spaced lines

Postby Espermaschine » Mon Feb 15, 2016 12:40 am

*duh*

Image

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Mon Feb 15, 2016 4:54 am

^-To be fair tiled clones are not exact as 11,61*31=359,91°,

while on the other hand, we have a new fancy tab in the arrange panel for polar coordinates, where you can type in the sum of the angles.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Draw equaly spaced lines

Postby Espermaschine » Mon Feb 15, 2016 5:37 am

Lazur URH wrote:^-To be fair tiled clones are not exact as 11,61*31=359,91°,

while on the other hand, we have a new fancy tab in the arrange panel for polar coordinates, where you can type in the sum of the angles.

I dont see the difference. Both methods require a number to be put into the required field.
Is 11,612° better for what you have in mind ?
Or what am i missing here ?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Mon Feb 15, 2016 8:16 am

The difference is that with the tiled clones you need to calculate each rotation's angle manually, as you cannot input as rotate 31 times per a full circle. And as the input fields are limited to 3 digits, the output won't be exactly where it is intended to.

While with the arrange in polar coordinates you can define the center, the radius, and the angle between the first and last object exactly as requested for the tiled clones panel.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Draw equaly spaced lines

Postby Espermaschine » Mon Feb 15, 2016 9:15 am

Lazur URH wrote:While with the arrange in polar coordinates you can define the center, the radius, and the angle between the first and last object exactly as requested for the tiled clones panel.

Have you tried it ?
I dont doubt your words, but im getting a lot of rubbish behaviour from the dialog.
Just to spare OP a headache. Maybe a screenshot for an easy time ?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Mon Feb 15, 2016 10:39 am

Image

by processing this file with all the objects:
https://www.dropbox.com/s/03kl05t9lzucdai/polar.svg?dl=0

Transformations may interfere with the dialog some cases, haven't tested that much.

Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Re: Draw equaly spaced lines

Postby Chriss2016 » Mon Feb 15, 2016 7:33 pm

I manage to do it. Thank you all.
Now I need to draw a curved arrow and a curly bracket. How to do it ?

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Draw equaly spaced lines

Postby Espermaschine » Tue Feb 16, 2016 2:51 am

Chriss2016 wrote:I manage to do it.

So what method did you use ?
And what exactly is your project all about ?

Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Re: Draw equaly spaced lines

Postby Chriss2016 » Tue Feb 16, 2016 7:04 am

I used brynn method and advice. But now i need to draw a curved arrow and a curly bracket. Any suggestion ?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Tue Feb 16, 2016 7:52 am

Arrow?

Here is another oldie.

You can use bend lpe and pattern along path lpe to distort a regular arrow to almost any shapes.


bend lpe

pattern along path lpe

Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Re: Draw equaly spaced lines

Postby Chriss2016 » Tue Feb 16, 2016 7:43 pm

Now how do I draw a curly bracket ?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Tue Feb 16, 2016 7:51 pm

Depends on what you are after. Can even use a text object for a { } character. an convert it to path after if you will (Ctrl+Shift+C).

Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Re: Draw equaly spaced lines

Postby Chriss2016 » Tue Feb 16, 2016 9:18 pm

If I use a text object } I have to increase it's size and it becames to thick.
Last edited by Chriss2016 on Tue Feb 16, 2016 10:09 pm, edited 2 times in total.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Tue Feb 16, 2016 9:34 pm

You can try it with another font.

Or just use the pen tool.

Chriss2016
Posts: 19
Joined: Sun Feb 14, 2016 12:28 am

Re: Draw equaly spaced lines

Postby Chriss2016 » Tue Feb 16, 2016 10:10 pm

And I want to write the monts of the year in a circle (between two concentric circles)

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Draw equaly spaced lines

Postby Lazur » Tue Feb 16, 2016 10:28 pm

Calls for text on path;

for concentric circles try the interpolate subpaths lpe.


Return to “Work in progress”