2
$\begingroup$

I extracted road markings using Open Data and Python. In the attached screenshot the road markings are still rounded. Since road marking is usually not roundish but angular, I would like to design the meshes also angular.

The attached screenshot is a. svg image imported into Blender. Would it be possible to convert all surfaces into splines and then widen them to create rectangular road markings?

Is there a solution in Blender?

screenshot

$\endgroup$
1
$\begingroup$

this is one possible way to make roundish curves into angular meshes:

this is a curve object (closed):

enter image description here

in edit mode you can select all nodes and convert them as vector

enter image description here

which will "straighten" curves changing nodes handles

enter image description here

which will become

image

if you can get those shapes as svg, you could try steps above...

edit:

note, you can get perfectly square shapes if source svg curves have suitable control points, like in this example below:

enter image description here

$\endgroup$
  • $\begingroup$ Thank you for your solution! That doesn't look bad, but road markings are rather rectangular and less trapezoidal. The screenshot above is an .svg image imported into Blender. Would it be possible to convert all surfaces into splines and widen them afterwards? $\endgroup$ – freddykrueger Feb 26 '18 at 17:39
  • 1
    $\begingroup$ @freddykrueger afaik, svg imported in blender should result in a curve (based on splines) object... you can convert that to mesh, later (alt-c in object mode) $\endgroup$ – m.ardito Feb 26 '18 at 19:31
  • $\begingroup$ Is there a way, that the meshes look like this (t4.ftcdn.net/jpg/01/16/26/45/…)? $\endgroup$ – freddykrueger Feb 26 '18 at 19:39
  • $\begingroup$ @freddykrueger depending on the source svg, yes: see updated answer $\endgroup$ – m.ardito Feb 26 '18 at 19:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.