Would it be possible to make it so you could choose which vertices to connect, ie, on a sphere machine a waterline instead of a gradient?
I wrote a little macro today that takes a polygon mesh created with AutoCAD's surface commands (rulesurf, revsurf...), and creates 3D polylines that run through the vertices of the mesh. These 3D polylines can be turned into toolpaths with my g-code macro. Attached is the macro and some sample meshes, all in the zip file.
Gerry
Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Would it be possible to make it so you could choose which vertices to connect, ie, on a sphere machine a waterline instead of a gradient?
Probably, but I don't have time to do it right now. Right now it just reads the vertices in the order thay are stored in the database. To do waterline, I have to go around the perimeter and read each point. I'm assuming you'd want to start at the top and work down, right? Or would you want the option to go from the bottom up? Either way, it would be hard to figure out on meshes that aren't revolved.
Gerry
Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
I'm not sure if this has been covered but, is the mesh macro supposed to delete the latitude segments on a dish? When running the macro on a dish the latitude dissapears. I've been drawing 3dpoly's converted to splines in its place. I'm running cad 04
Can you post a sample file of your dish? I don't see why anything should be getting deleted.
Gerry
Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Here it is. Its in land desktop 2004, its still autocad though.
Yes, that's what it does. Not very useful for revolved meshes. Works much better on the other types.
Gerry
Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Actually, it shouldn't delete anything. It will just draw 3D polylines over the longitudinal edges. I'll look again tonight.
Gerry
Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)