From: Matadem
Good day.
If I have certain shapes...is there a script or can Moi generate a middle(centerline) from the shape?
I just need a line running from the center of the shape to be able to create a toolpath to machine.
attached is a dxf ...so basically I need the same thing but It should consist of a single curve.
Tnx!
Attachments:
smile.dxf
From: Frenchy Pilou (PILOU)
maybe this can help you ?
http://moi3d.com/forum/index.php?webtag=MOI&msg=7734.2
Else Bounding Box Center will give you a center of your object
Free to you to draw any line(s) from this point to interesting directions!
And BoundingBox will draw a box around it!
If you draw the diagonal you will have a middle of your object!
From: Matadem
Maybe I did not explain it good.
but something like this >
https://inkscape-manuals.readthedocs.io/en/latest/tracing-an-image.html
scroll to the fist pic.
from a line stroke to generate the centerline.
Tnx!
From: Frenchy Pilou (PILOU)
You have flat line who make middle center line! :)
Not exactly that you want but...
Ok CMorph can make that you want! :)
From: Matadem
That would certainly help.
Thank you!
From: Michael Gibson
Hi Matadem,
re:
> If I have certain shapes...is there a script or can Moi generate a middle(centerline) from the shape?
Not really from the kind of noisy inputs that you have there.
If you have 2 cleanly drawn curves you can use the morph script that Pilou shows to make an average between them but I don't expect it to work well for your sort of more "data processing" type input.
The overall focus of MOI is on drawing stuff, it is not focused on processing noisy scanned data. It's not the right tool for this particular kind of job.
- Michael
From: blowlamp
Are you V-Carve machining? If so CamBam might be what you need, along with the V-Engrave plugin.
Both are free for the first forty trial sessions, so it's easy to try out.
I wouldn't use the curves you supplied though, because they are way too messy.
Martin.
From: Matadem
I am just looking at some options...because for all my work it starts and or go thru Moi at a certain point.
If you are talking V-carving...I use Vectric Vcarve and the new update v12 which is on my list to buy...there is new feature called sketch carving which will save you hours.
Tnx!