| | | | |
This new tool allows easy creation of non-flat patterned LDraw parts. Create a
flat pattern and stamp it on a 3D former.
Program, documentation, source code are available
here.
To show the usefulness of this tool, I created the four Viking shields:
available on LDraw Parts
Tracker.
Enjoy!
Philo
| | | | | | | | | | | | | In lugnet.announce, Philippe Hurbain wrote:
|
This new tool allows easy creation of non-flat patterned LDraw parts. Create
a flat pattern and stamp it on a 3D former.
|
What a clever tool. That seems like it will be very useful!
Jim
| | | | | | | | | | | | | | | Wow! That is very cool! Im going to have to find a curved piece in one of my
models that needs a pattern and try it out.
Thanks!
Scott
| | | | | | | | | | | | | | | Very nice. I dont author parts, so I wont be trying it out. However, I
looked at your tutorial, and I have two suggestions:
- Add Un-Project, where it takes a projected shape and flattens it automatically on an axis specified by the user (X, Y, or Z).
- Automatically split pattern polygons so that they dont cross any polygon boundaries of the template part. Use the un-projected geometry that you generated in the above as the pre-projected template, and do the splitting while the pattern is still flat.
The first feature above is probably pretty trivial. The second one would likely
be a lot more work, but would make the tool a whole lot more powerful.
--Travis
| | | | | | | | | | | | | | | | | | In lugnet.cad.dev, Travis Cobbs wrote:
|
Very nice. I dont author parts, so I wont be trying it out. However, I
looked at your tutorial, and I have two suggestions:
- Add Un-Project, where it takes a projected shape and flattens it automatically on an axis specified by the user (X, Y, or Z).
- Automatically split pattern polygons so that they dont cross any polygon boundaries of the template part. Use the un-projected geometry that you generated in the above as the pre-projected template, and do the splitting while the pattern is still flat.
The first feature above is probably pretty trivial. The second one would
likely be a lot more work, but would make the tool a whole lot more powerful.
--Travis
|
For unproject MLCad does the job. Symply select everything and set the
appropriate matrix row at 0. This is perfect for triangle, quads... If you have
primitives you have to later automatically fix the all zero matrix row using
LDDP.
The pattern split program is actually a special case of a tool I consider
writing for a long time. It would take two sheets of tri/quads and cut them at
the intersection between the sheets. I am slowly clearing my mind about the
whole process... so some day Ill try to write it. But it is far from obvious!!!
Also if you manually build the pattern as an overlay of the original shape, you
optimize it (eg avoid teeny triangles), something an automatic cut wouldnt do.
Philo
| | | | | | | | | | | | | | | | In lugnet.announce, Philippe Hurbain wrote:
|
This new tool allows easy creation of non-flat patterned LDraw parts. Create
a flat pattern and stamp it on a 3D former.
Program, documentation, source code are available
here.
To show the usefulness of this tool, I created the four Viking shields:
available on LDraw Parts
Tracker.
Enjoy!
Philo
|
Wow. Awesome. Ive been meaning to write something like this for ages so Im
very happy. Would it work on minifig faces too?
Tim
| | | | | | | | | | | | | | | | | | In lugnet.cad.dev, Timothy Gould wrote:
|
Wow. Awesome. Ive been meaning to write something like this for ages so Im
very happy. Would it work on minifig faces too?
|
It should. One interesting aspect is that while photo/scan distorts the pattern,
flattening the shape to put it in quad2dat does the same distortion so they
compensate each other!
Philo
| | | | | | | | | | | | | | | | | | | | In lugnet.cad.dev, Philippe Hurbain wrote:
|
In lugnet.cad.dev, Timothy Gould wrote:
|
Wow. Awesome. Ive been meaning to write something like this for ages so Im
very happy. Would it work on minifig faces too?
|
It should. One interesting aspect is that while photo/scan distorts the
pattern, flattening the shape to put it in quad2dat does the same distortion
so they compensate each other!
Philo
|
I was curious if it was a direct projection or an area preserving one. A nice
variant might be to write an area preserving variant although that would get
quite complex.
Tim
| | | | | | | | | | | | | | | | | | | | In lugnet.cad.dev, Timothy Gould wrote:
|
In lugnet.cad.dev, Philippe Hurbain wrote:
|
In lugnet.cad.dev, Timothy Gould wrote:
|
Wow. Awesome. Ive been meaning to write something like this for ages so
Im very happy. Would it work on minifig faces too?
|
It should. One interesting aspect is that while photo/scan distorts the
pattern, flattening the shape to put it in quad2dat does the same distortion
so they compensate each other!
Philo
|
I was curious if it was a direct projection or an area preserving one. A nice
variant might be to write an area preserving variant although that would get
quite complex.
Tim
|
Its a direct parallel projection. I think its the best since the photo (with a
long focal lens) or a scan has the same projection.
Philo
| | | | | | | | | | | | | | | | In lugnet.announce, Philippe Hurbain wrote:
|
This new tool allows easy creation of non-flat patterned LDraw parts. Create
a flat pattern and stamp it on a 3D former.
Program, documentation, source code are available
here.
|
This is great! Like Tim, Id been thinking about writing a tool like this for a
long time. Thank you very much for making this available.
Steve
| | | | | | | | | | | | | | | In lugnet.announce, Philippe Hurbain wrote:
> This new tool allows easy creation of non-flat patterned LDraw parts. Create
> a flat pattern and stamp it on a 3D former.
Philo! Awesome tool, can hardly wait to check it out. I've been waiting for a
long, long time for such a prog.
w.
| | | | | | | | | | | | | | | Reading your tutorial made me wonder whether scans of the orignal parts could be
vectorized using Inkscape (Inkscape includes an automatic raster-to-vector
converter). The resultant SVG (Scalable Vector Graphics) file could then maybe
be converted to a flat LDraw file. One would then proceed normally as outlined
in your tutorial.
-Mike
| | | | | | | | | | | | | | | | | In lugnet.cad.dev, Michael Horvath wrote:
|
Reading your tutorial made me wonder whether scans of the orignal parts could
be vectorized using Inkscape (Inkscape includes an automatic raster-to-vector
converter). The resultant SVG (Scalable Vector Graphics) file could then
maybe be converted to a flat LDraw file. One would then proceed normally as
outlined in your tutorial.
|
Hi Mike,
Yes, I considered this possibility in the beginning, but I was not convinced by
the vectorization process. One key issue is that silk-screened parts are far
from perfect (misprints, color registration problems...). I found that cleaning
all these defects would probably be harder than the manual vectorisation
process.
And would remain the issue of a flat pattern that need to be cut along former
polygon boundaries... but I am working on this one!
Philo
| | | | | | |