The idea is:
1) Draw the layout in Inkscape (https://inkscape.org)
2) A tool that turns the .svg drawing into a layout.
The advantage is that one can add a reference image in background and trace the course there.
I just realized rest of post looks way to scary with all the links and explanations so just watch the video:
Video: https://www.youtube.com/watch?v=K-ppxFYI-_8
It is not the goal to draw the *complete* track in inkscape but rather just the important positions.
Details like curbs, turn markers, chalk etc can better be added with the normal LFS editor.
But for example load the image of a track that one wants to create and mark the edges of the road: That gives accurate references for continuing to work in LFS editor.
Another nice thing is that in Inkscape with few clicks one can create shapes that in LFS editor would take lots of effort:
-spirals
-circles
-triangles, hexagons, pentagram etc..
-or just many cones along a curved line
Notes:
-LFS track images: https://www.lfs.net/forum/post/676857
-Save drawing as layout.svg in same folder as the tool
-document must be sized 2560x2560 pixel and "centered" at 0:0
-It only works with rectangles. (I do not want to write whole svg graphic parser)
-To place different objects: Rightlick on rectangles, set "Label" in object properties.
See https://www.lfs.net/programmer/lyt which number creates which object.
-It does not work, LFS just spams "coordinates out of bound" or something:
Sometimes Inkscape messes up the file in a way that the tool can not read it.
For example the coordinate-system-blablub can be shifted around and then the file contains something like:
Basically that means every object is not placed at position Y but at position Y+offset.
This confuses the tool.
To get rid of that:
-Select everything, go to menu "Objects" - "Ungroup"
-Move objects a bit to left then back to right with arrow keys
-If all else fails, edit the .svg with a text editor
It might work with other vector programs, but if they save in even slightly way then the tool can probally not read it. I use Inkscape version 0.48
1) Draw the layout in Inkscape (https://inkscape.org)
2) A tool that turns the .svg drawing into a layout.
The advantage is that one can add a reference image in background and trace the course there.
I just realized rest of post looks way to scary with all the links and explanations so just watch the video:
Video: https://www.youtube.com/watch?v=K-ppxFYI-_8
It is not the goal to draw the *complete* track in inkscape but rather just the important positions.
Details like curbs, turn markers, chalk etc can better be added with the normal LFS editor.
But for example load the image of a track that one wants to create and mark the edges of the road: That gives accurate references for continuing to work in LFS editor.
Another nice thing is that in Inkscape with few clicks one can create shapes that in LFS editor would take lots of effort:
-spirals
-circles
-triangles, hexagons, pentagram etc..
-or just many cones along a curved line
Notes:
-LFS track images: https://www.lfs.net/forum/post/676857
-Save drawing as layout.svg in same folder as the tool
-document must be sized 2560x2560 pixel and "centered" at 0:0
-It only works with rectangles. (I do not want to write whole svg graphic parser)
-To place different objects: Rightlick on rectangles, set "Label" in object properties.
See https://www.lfs.net/programmer/lyt which number creates which object.
-It does not work, LFS just spams "coordinates out of bound" or something:
Sometimes Inkscape messes up the file in a way that the tool can not read it.
For example the coordinate-system-blablub can be shifted around and then the file contains something like:
Basically that means every object is not placed at position Y but at position Y+offset.
This confuses the tool.
To get rid of that:
-Select everything, go to menu "Objects" - "Ungroup"
-Move objects a bit to left then back to right with arrow keys
-If all else fails, edit the .svg with a text editor
It might work with other vector programs, but if they save in even slightly way then the tool can probally not read it. I use Inkscape version 0.48