To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 10215
10214  |  10216
Subject: 
Re: Bricksaic and txt2dat?
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 22 Apr 2005 02:36:09 GMT
Viewed: 
2889 times
  
In lugnet.cad.dev, Ross Crawford wrote:
   In lugnet.build.mosaic, Don Heyse wrote:
  
Hey. You know the bricksaic interface is also a really nice fit for a program to reproduce patterned bricks in ldraw. I gave it a whirl posterizing the only pattern I had a scan of and it did a fairly nice job.

http://ldglite.sourceforge.net/bricsaic.png

You could use a few paint options to touch up the spotty pixels in the lego colored image. I imagine that’d be handy for mosaics as well.

Then all you need is a button that runs the image thru autotrace, followed by Rosco’s text2dat code (hacked up just a bit to handle autotrace output instead of freetype data). The results might just be good enough to pass the ldraw.org standards.

Whatcha all think?

Happy to investigate autotrace input, if someone can point me to a spec, or even better some code to parse it ;)

OK so a quick search reveals that autotrace exports several different file formats, none of which I know very much about. Does anyone else have any info?

Note: txt2dat relies on the vector data being a series of closed contours. It also currently only supports the notion of foreground colour and background colour, specified on the command line, not in the source data. It might be better to do this as a separate project - dxf2dat or something.

ROSCO



Message has 1 Reply:
  Re: Bricksaic and txt2dat?
 
(...) Yeah, I was actually thinking the best thing would be to paste your ldraw triangle generator code right into the output code of autotrace. (URL) About a year ago> I hacked a cheesy ldr output into autotrace, but it only does edge lines. I (...) (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)

Message is in Reply To:
  Re: Bricksaic and txt2dat?
 
(...) Happy to investigate autotrace input, if someone can point me to a spec, or even better some code to parse it ;) Some test data would be useful too... ROSCO (19 years ago, 22-Apr-05, to lugnet.cad.dev, FTX)

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
    

Custom Search

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