bngm
23rd Jan 2008, 11:34 pm
hi there folks,
first of all, i must proclaim that it's been a pleasure to lurk these forums the past few months. i've learned loads of excellent tricks and good solutions while eating breakfast at my desk or taking a break from rhino. i did some quick searches of the forums for the answer to my current problem, but i couldn't find anything. i'm sure someone in the past has dealt with this issue before, however.
without going into too much detail, i'm building a model of a boat my colleague designed using rhino. i have access to a laser cutter and thin (2, 3, and 5mm) sheets of nice, high-density foam, so the best solution is to use the contour command in rhino to extract sections of the boat at regular intervals. you can see the results in the autocad dwg i exported.
the next step is to prepare those contours for the laser cutter. (i'm going to make the model out of whole, solid sections of the boat, ignoring the space between deck and hull found in a real fiberglass boat. much easier to build the model that way.) the idea is to cut each piece out along the outline, but to also include the silhouette of the NEXT section as a light guide line. in other words, each piece will have printed on it the outline of the next piece of the model.
this is easy to do with several contours:
1. along the X or Y axis, separate them all by a common distance (like 1 meter).
2. copy the whole lot over that common distance (while changing the second set's layer for clarity). now there is a primary piece with a secondary overlay.
3. last, arrange the pieces, each now consisting of a full cut outline and a light guideline of the next piece of the puzzle, onto sheets to be sent to the laser cutter.
and i'd do just that in this case... except i have over 200 contours to deal with. i tried to do it manual-labor style, by moving each contour 1 meter, 2 meters, 3 meters, and so on until they were all separated, but i got through about 20 when my wrist shut down completely. there has to be a better way to get this process automated.
i'm not new to autocad, but i am new to LISPs. it seems like the solution lies in incorporating some simple algebra into a LISP command which offsets objects found at a certain height a certain distance related to that height. or better yet, it would select objects found in order along an axis (in this case from z=0 to z=infinity), then offset them in X or Y a certain distance based on selection order.
has anyone else encountered anything like this before? i do this kind of laser cutting work somewhat often, but never with so many inputs, so i've always bit the bullet and arranged everything by hand, keying in distances and pretending i'm a robot. this time, i would really like to avoid that!
all suggestions are welcome. let me know if you need any more information or the original rhino file. i tried to be as thorough as possible without being too boring!
thanks,
bngm
p.s. the obligatory: i use autocad 2006 and rhinoceros 4.0.
p.p.s. try to download the original contours file here. it was too big to upload:
http://rapidshare.de/files/38390818/bngm-01freshboatcontours.dwg.html
first of all, i must proclaim that it's been a pleasure to lurk these forums the past few months. i've learned loads of excellent tricks and good solutions while eating breakfast at my desk or taking a break from rhino. i did some quick searches of the forums for the answer to my current problem, but i couldn't find anything. i'm sure someone in the past has dealt with this issue before, however.
without going into too much detail, i'm building a model of a boat my colleague designed using rhino. i have access to a laser cutter and thin (2, 3, and 5mm) sheets of nice, high-density foam, so the best solution is to use the contour command in rhino to extract sections of the boat at regular intervals. you can see the results in the autocad dwg i exported.
the next step is to prepare those contours for the laser cutter. (i'm going to make the model out of whole, solid sections of the boat, ignoring the space between deck and hull found in a real fiberglass boat. much easier to build the model that way.) the idea is to cut each piece out along the outline, but to also include the silhouette of the NEXT section as a light guide line. in other words, each piece will have printed on it the outline of the next piece of the model.
this is easy to do with several contours:
1. along the X or Y axis, separate them all by a common distance (like 1 meter).
2. copy the whole lot over that common distance (while changing the second set's layer for clarity). now there is a primary piece with a secondary overlay.
3. last, arrange the pieces, each now consisting of a full cut outline and a light guideline of the next piece of the puzzle, onto sheets to be sent to the laser cutter.
and i'd do just that in this case... except i have over 200 contours to deal with. i tried to do it manual-labor style, by moving each contour 1 meter, 2 meters, 3 meters, and so on until they were all separated, but i got through about 20 when my wrist shut down completely. there has to be a better way to get this process automated.
i'm not new to autocad, but i am new to LISPs. it seems like the solution lies in incorporating some simple algebra into a LISP command which offsets objects found at a certain height a certain distance related to that height. or better yet, it would select objects found in order along an axis (in this case from z=0 to z=infinity), then offset them in X or Y a certain distance based on selection order.
has anyone else encountered anything like this before? i do this kind of laser cutting work somewhat often, but never with so many inputs, so i've always bit the bullet and arranged everything by hand, keying in distances and pretending i'm a robot. this time, i would really like to avoid that!
all suggestions are welcome. let me know if you need any more information or the original rhino file. i tried to be as thorough as possible without being too boring!
thanks,
bngm
p.s. the obligatory: i use autocad 2006 and rhinoceros 4.0.
p.p.s. try to download the original contours file here. it was too big to upload:
http://rapidshare.de/files/38390818/bngm-01freshboatcontours.dwg.html