To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 5236
5235  |  5237
Subject: 
Re: Patterns suck!
Newsgroups: 
lugnet.cad.dat.parts, lugnet.cad.dev
Date: 
Wed, 5 May 2004 18:28:07 GMT
Viewed: 
7337 times
  
In lugnet.cad.dat.parts, Don Heyse wrote:
> In lugnet.cad.dat.parts, Don Heyse wrote:
> > In lugnet.cad.dat.parts, Willy Tschager wrote:
> > > 
> > > here are the rules. because the level of our pow-how will start
> > > right from the top you have to show qualification. I definitely
> > > won't waist my time with unprepared people which have no clue about
> > > the basics. now, I'll post my qualification below and when you think
> > > you are fit enough post yours and join me.
> > > 
> > > the first topic to be discussed will be: bmp2dated patterns are crap!
> > 
> > That's true.  Bmp2dat needs some real edge tracking algorithms instead
> > of just runlength encoding.  Something like this.
> > 
> >   http://www.ipf.tuwien.ac.at/fr/buildings/diss/node94.html
> > 
> > It also needs an autorotate function.  Just look for the longest
> > straight line near 90 or 0 degrees and rotate it to exactly 90 or 0
> > for starters.
> > 
> > But what about patterns made with quad2dat.exe?  It's a more manual
> > procedure, but doesn't that make it better?
> 
> Or you could search the net for vectorizer programs like this one.
> 
>   http://www.algolab.com/Samp_Cnv/Pvf.htm
> 
> Here's a free vectorizer with source code.
> 
>   http://xmailserver.org/davide.html
> 
> I wonder how hard it would be to modify it to handle color and
> output ldraw format.

I'm gonna have to look into this again.  Vectorizers are cool.

Here's some more opensource code
  http://delineate.sourceforge.net/
  http://potrace.sourceforge.net/
  http://autotrace.sourceforge.net/

Here's a really nifty description of how to use the potrace vectorizer
to generate edges, and the netlib triangulator to create the triangles.

  http://cscott.net/Projects/Mallard/

Here's the triangulator by itself.

  http://www-2.cs.cmu.edu/~quake/triangle.html

We just need to create a GUI front end to this stuff and a .LDR
output translator.  Should be easy right?

Don



Message has 1 Reply:
  Patterns, simplified
 
(...) I'm inferring that you are talking about converting a scanned image into a pattered subfile for a part? Then, optimally, the process requires the following discrete phases: 1) Someone[1] scans a patterned part at high resolution into an agreed (...) (22 years ago, 5-May-04, to lugnet.cad.dat.parts, lugnet.cad.dev)  

Message is in Reply To:
  Re: Patterns suck!
 
(...) Or you could search the net for vectorizer programs like this one. (URL) a free vectorizer with source code. (URL) wonder how hard it would be to modify it to handle color and output ldraw format. Enjoy, Don (22 years ago, 5-May-04, to lugnet.cad.dat.parts, lugnet.cad.dev)

9 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR