hey guys. so this map right here was created
with a little help from my CNC machine
however the most difficult part of the
project was figuring out how to pull in
the roadmap data and making that be
usable by my CNC CAM software so I ended
up creating two different techniques to
make this happen one uses the vector
data from OpenStreetMaps which is then
modified in adobe illustrator which is
what I used for this build and the
second method is for those without access
to the Adobe software and uses all free
open-source programs
snazzy maps and a PNG - SVG file format
converter this second option gives you
less customized ability and is a little
bit more labor-intensive but it still
does the trick either of these
techniques can be used along with the
laser or done by hand as I showed in the
build video so let's dive right in
first is the technique using Adobe
Illustrator you start on a website
called OpenStreetMaps org navigate to
your desired map location and then
navigate over to the button on the right
side of the screen that says share this
will bring up a menu that you'll then
use to export the data check the box for
set custom dimensions and then select
the area on the map that you want to use
change the format to PDF and then scale
to 50000 and then click download
depending on the size of the map it
might take a little while to collect the
data so just give it a second to load
navigate to the files save location and
right-click and open with Adobe
Illustrator I also created a duplicate
file in case I ever want to revert back
to the original if Adobe says something
about missing fonts when you open the
file just select close and close that
pop-up window now we start the process
of cleaning up the map start by
right-clicking on the map and selecting
ungroup press ctrl shift and a to
deselect everything to make the map
easier to work with I delete all the
text along with the text background and
shadows select one of these elements
then go to the Select menu same
appearance then hit delete to remove all
of these elements rinse and repeat for
all the extra elements layered on top of
your map that you want to get rid of
create a new layer to dump all the data
in that you want to use for your project
first select an element that you want I
started with the water and then open the
Select menu same appearance press ctrl +
X to cut these elements select your new
layer and then press ctrl shift + V to
paste these elements in place repeat the
same thing for all the roads that you
want to include in your map the nice
thing about this method is that you can
choose how detailed you want to get
you can just include the main rows or
you can include every street on the map
for any of the white roads select them
all and change the stroke color to black
so you can see them on the white
background if you want to copy a border
like I did with the city of Washington
DC be sure to copy that over to your new
layer as well you want to change the
stroke color to black adjust the line
weight to the desired thickness and
change it to a solid line by deselecting
dashed line in the stroke menu
alternatively you could also draw your
own shape to define the border of your
map once you're sure that you have
everything you need from the original
map you can now delete the original
layer to make the file smaller and
easier to work with press ctrl + a to
select all of your elements right click
on the border and select make a clipping
mask this will hide all the elements
outside of the border of your map to
delete all the strokes instead of making
them hidden press ctrl + a again to
select everything and in the
transparency window change the drop-down
menu from normal to multiply then
navigate to object flatten transparency
change the raster to vector balance to
100% vector and click OK and that will
eliminate anything outside of your map
border and to make your border visible
again select it and adjust the stroke
color and line weight then click on the
border and select release clipping mask
and ungroup the strokes too if you need to
do that now if you are planning to do
work by hand save and print this file so
you have the different colors to
reference the different thicknesses of
the roads but for CNC and laser work
you'll want to change all the stroke
colors to black if you want the water in
your final piece to be a different color
from the roads like I did copy all of
the water into a new layer you may also
want to clean it up a bit since it
includes literally every body of water
on your map and it even included the
sedimentation tanks at the water
treatment plant on my map for the CNC
you will also want to adjust any water
that touches the border of your map by
manually moving the points in to the
inner extent of the border line or by
offsetting the border and using a
clipping mask on the water layer if
you're using Easel as your CAM software
like me you're going to want to convert
the strokes to paths since Easel doesn't
play well with line segments to do this
select object path outline stroke you
can now export your file as a SVG and
then import that into easel to cut on
your CNC because of the amount of detail
in these maps you might find yourself
with a massive file size so to make
things a little bit lighter in weight you
can export as a PNG instead and then
convert that into an SVG file that Easel
can read like I do in the second method
then once we have everything pulled into
Easel I set my depth of cut to a
quarter of an inch which will set the
maximum
depth of cut in this case it's the rivers
and then I set a quarter inch straight
bit for my roughing pass and a sixty
degree V bit for a finish pass and then
we're ready to carve the second method
uses snazzy Maps and while being easier
it is quite more labor-intensive and
doesn't give you the customizability for
which road you want to include but it
still works perfectly for your CNC or
laser operation so you'll want to
navigate to snazzy Maps com you'll need
to create an account if you want to
create and save your own styles like I
did and also to download these images
there are many predefined styles on
snazzy maps but you can create your own
by changing the color of all the
elements or you can even access the
Jackman style that I created and use it
for yourself so start by selecting your
map style and navigate to the location
on the map that you are interested in to
determine the level of detail that you
want to include you can zoom in and out
on the map the further you zoom in the
more detail will appear now this method
is essentially going to export tiles
from this map that you can then piece
together to use for your cutting file
navigate to one of the corners where you
want your map to cover and then select
download image addressing the dimensions
to 1000 by 1000 and a scale factor of 3x
adjust the location of the map as needed
and select download image this will give
you a PNG file of the map that was shown
on the screen if your desired map covers
a larger area than this like mine did
you'll want to navigate to the remaining
areas of the map and download those
images as well and do you have all the
tiles to make up your final map just
make sure that you don't zoom in or out
or you could lose the scale relative
to the other tiles that you've already
saved open all these image files in GIMP
a free photo editing software choose one
of the tiles as your main file and
increase the canvas size under image
canvas size make it large enough for
your entire map now you're going to copy
one of the adjacent tiles and paste it
into your main map file in your layer
menu right click on those pasted layer
and select to new layer this will allow
you to move this tile around and align
it with the others zoom in and use the
rows to align one tile with another
repeat this until all tiles cover the
entire desired map area now merge all
the layers together by right-clicking on
the top layer and selecting merge down
and repeat this until you've merged all
the layers together into a single layer
to define the border of the map you can
create your own shape and crop around
this but I'm going to use the border of
the map to crop around use the color
select tool and select the red border
since it's a dashed line go to select grow
and set it to 10 pixels to create a
solid line for your
hit delete to remove the selection and
then clean up the border using the free
select tool to select all the areas on
the map that you want to keep once you
get all the way around your map hit
enter to confirm your selection navigate
to select invert to select all the areas
that you want to remove outside of the
border and then hit delete to remove
those you can now clean up the map by
manually removing any rows that you
don't want to include you can make the
water a different color but this will be
much more labor-intensive than the first
method to do this you'll have to use the
free select tool and select all the
water and then cut and paste it as its
own layer that can be exported
separately once you are happy with your
map go to file export as and save your
map as a PNG file for Easel to be able
to read this file you need to convert it
to an SVG file to do this I use an
online PNG - SVG converter tool which
I'll link in the description go to that
website and upload your PNG file select
monochrome from the optional settings
and then click convert file this will
recognize all the black areas as lines
for the CNC that cut down on your file
and then import the SVG into easel
adjust the scale to the size of the map
that you want and then you can start
carving now this bonus video was made
possible by my patrons over on Patreon
so huge shout out for the support for
helping me make extra content like this
so there you go both of those methods
can be used to grab road map data for
using your CNC or laser projects or if
you even want to do it by hand if you
like that kind of torture be sure to
check out the full build video of this
map of Washington DC to see this method
applied to an actual project I actually
ended up scaling up my map into 4
different tiles to be able to make a map
larger than what my CNC is capable of
handling so I'll link that build video
down below along with any other websites
that you need to make this happen like
OpenStreetMaps SnazzyMaps the SVG
file converter or anything else like
that so hopefully this technique helps
someone to make a project similar to
this and if you do post it on Instagram
and tag me I'd love to see it alright
you got a build video to go watch now
and you watch it already you go watch it
again
Không có nhận xét nào:
Đăng nhận xét