LDraw.org Discussion Forums
[LDPatternCreator] Release 1.6.5 - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: Parts Author Tools (https://forums.ldraw.org/forum-24.html)
+--- Thread: [LDPatternCreator] Release 1.6.5 (/thread-22210.html)

Pages: 1 2 3 4 5


[LDPatternCreator] Release 1.6.5 - Nils Schmidt - 2017-06-26

Hi,

after a few sleepless nights I was finally able to reproduce and fix some troublemakers.

Download and install the latest LDPatternCreator release directly from sourceforge.net.

Change log:

Fixed bugs:
  • Fixed a rare crash (Rectifier/SlicerPro/Unificator tool chain)
  • A wrong winding was exported when "Include Metadata" was disabled, but a winding was chosen in the metadata dialog.
As always, I included a short readme.htm in the installation directory.


Cheers & Leg Godt


Nils


RE: [LDPatternCreator] Release 1.6.5 (Bug-Fix) - Philippe Hurbain - 2017-06-28

Made two complex (but flat) patterns, no crash. Good news so far Wink


A.I. Assistant for Pattern Design? - Nils Schmidt - 2017-06-28

Did you ever dreamed about a possibility to convert a 2D scan into a pattern? Well, there was a converter implementation*, but it was impractical and I removed it completely.

Lately, I did some advanced research on imaging and neural networks.

First of all, there are some limitations... It is not possible to just load a 32bit raw image and covert it into perfect triangles, because of

  1. "garbage in -> garbage out", if your input file is blurry, noisy, has a low resolution or has some undesired artifacts, low contrast, printing errors etc.
  2. Perfect corners / orthogonality / symmetry / parallel lines: It is not trivial to decide if a geometry isn't organic (e.g. street signs or control panel patterns)
  3. Colour palette: It is not trivial to classify the colour palette of your pattern.
  4. Scope of detail and relevancy: It is not trivial to determine how much detail is needed in all areas of the picture. Maybe some area is not relevant for the pattern at all.
However... instead of writing a raster image to triangle converter, I would rather implement...
  • ...an A.I.-Assistant which will suggest two triangles after you inserted one triangle (~200% increase in productivity) and/or
  • ...an SVG-to-triangle-converter (like svg2dat)
  • ...a Lines2Pattern clone.
Vector graphics are very cool, because they are well-defined. There was svg2dat, but now it is forgotten.

Any thoughts??


The following pattern was created by an A.I.:
[attachment=2822]


* (proof - search for "Projet automatique à partir d'image Bitmap")


RE: A.I. Assistant for Pattern Design? - Philippe Hurbain - 2017-06-28

Quote:Did you ever dreamed about a possibility to convert a 2D scan into a pattern?
Oh YES! after making my last pattern (arctic torso) I looked again on the web to see if someone somewhere provided a usable solution but found nothing new Sad
Quote:Well, there was a converter implementation*, but it was impractical and I removed it completely.
Yeah, never succeeded in doing something useful with it Wink
Quote:However... instead of writing a raster image to triangle converter, I would rather implement...
  • ...an A.I.-Assistant which will suggest two triangles after you inserted one triangle (~200% increase in productivity) and/or
  • ...an SVG-to-triangle-converter (like svg2dat)
Both seem interesting...
Quote:There was svg2dat, but now it is forgotten.
Maybe not completely, afaik it's still used in Darats tool chain to make patterns. But it suffers from two drawbacks, poor triangulation (many needle shaped triangles) and very partial svg support (afaik no support of path, so useful to make pattern outlines.
Rolf Osterthun also had an interesting bitmap to ldraw converter that was kind of usable, but he evaluated that the tool was not good enough for general release.
Quote:The following pattern was created by an A.I.:
From a bitmap? overall it looks rather good, but strangely in some areas one side the darker lines was missed?!


RE: A.I. Assistant for Pattern Design? - Willy Tschager - 2017-06-29

(2017-06-28, 16:13)Nils Schmidt Wrote: Did you ever dreamed about a possibility to convert a 2D scan into a pattern?

...

Any thoughts??

I love all your fancy feature but wanna see first coded all the things I really miss:

https://forums.ldraw.org/thread-21654-post-24373.html

w.


LDPatternCreator Backlog - Nils Schmidt - 2017-06-29

Hi Willy,


I listed your whishes here:

https://sourceforge.net/p/patterncreator/tickets/198/

Have I forgotten something?

Leg godt,

Nils


RE: A.I. Assistant for Pattern Design? - Merlijn Wissink - 2017-06-30

Since we have someone creating a bunch of vector files for Lego prints at the moment: https://forums.ldraw.org/thread-22213.html
Something along the lines of an svg to LDraw would be an interesting addition Smile


RE: LDPatternCreator Backlog - Willy Tschager - 2017-06-30

(2017-06-29, 21:25)Nils Schmidt Wrote: Have I forgotten something

Hi Nils,

thanks for creating the tickets. Looks like you've got everything but the layers:

https://forums.ldraw.org/thread-21654-post-24625.html#pid24625

w.


RE: A.I. Assistant for Pattern Design? - Philippe Hurbain - 2017-06-30

Something that should be (very) useful: an automatic area triangulator. One would select a color, then click in an empty area of the pattern, and LDPC would fill that area with triangles of selected color. Triangulation would extend on all area, bounded by template lines and existing triangles. If only for this, it would be very useful to fill-in background of a pattern!


RE: A.I. Assistant for Pattern Design? - Merlijn Wissink - 2017-06-30

(2017-06-30, 16:03)Philippe Hurbain Wrote: Something that should be (very) useful: an automatic area triangulator. One would select a color, then click in an empty area of the pattern, and LDPC would fill that area with triangles of selected color. Triangulation would extend on all area, bounded by template lines and existing triangles. If only for this, it would be very useful to fill-in background of a pattern!

I agree completely. I haven't made that many (patterned) parts, but I even I can see the incredible usefulness of a feature like that.