To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 17771
     
   
Subject: 
LDraw-Pattern-Creator (LPC)
Newsgroups: 
lugnet.cad
Date: 
Fri, 3 Jun 2011 05:36:22 GMT
Viewed: 
19919 times
  

Hi everyone,

I recently made contact with Nils Schmidt [BlackBrick89], and he kindly sent me
a copy of the source code for his LDraw-Pattern-Creator (LPC) program.

I've compiled a copy of the code and put some links on my website where you can
download an install file. See the following link for more details:
http://www.pearse.co.uk/lego/links/ldrawpatterncreator

Nil's was keen to point out that this is an "in-progress-version of the LPC
[LDraw-Pattern-Creator]"

It's still *very* beta so feedback and bug reports are very important. Please
contact me with any bug reports/comments and I will try and co-ordinate with
Nils to work on bug fixes and documentation.

Ideally I need some parts authors to experiment with the tool and provide
feedback.

Have fun!

Reuben

=====================================
Download 3D Lego models and other resources from:
http://www.pearse.co.uk/lego
=====================================

   
         
     
Subject: 
Re: LDraw-Pattern-Creator (LPC)
Newsgroups: 
lugnet.cad
Date: 
Mon, 6 Jun 2011 06:50:48 GMT
Viewed: 
20570 times
  

Looks impressive.
I'll give it a try with a patterned part I want.
Jaco

   
         
   
Subject: 
Re: LDraw-Pattern-Creator (LPC)
Newsgroups: 
lugnet.cad
Date: 
Tue, 7 Jun 2011 07:51:08 GMT
Viewed: 
20679 times
  

In lugnet.cad, Reuben Pearse wrote:
Hi everyone,

I recently made contact with Nils Schmidt [BlackBrick89], and he kindly sent me
a copy of the source code for his LDraw-Pattern-Creator (LPC) program.

I've compiled a copy of the code and put some links on my website where you can
download an install file. See the following link for more details:
http://www.pearse.co.uk/lego/links/ldrawpatterncreator


J.C. Tchang has kindly put a manual together for the LDraw-Pattern-Creator. At
the moment this is only available in French. I have added some links to the
manual on the following page:
http://www.pearse.co.uk/lego/links/ldrawpatterncreator

You can browse the manual online or you can download a copy of the manual as a
zip file. Can anyone assist with providing translations for English and other
languages? If you are able to help with translating then I would suggest that
you download the zip file here:
http://www.pearse.co.uk/lego/downloads/Manuel-LPC-v1beta.zip

...make amendments and then email me the updated zip file (email address on the
website)

Bye for now

Reuben

=====================================
Download 3D Lego models and other resources from:
http://www.pearse.co.uk/lego
=====================================

   
         
   
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: LDraw-Pattern-Creator (LPC)
Newsgroups: 
lugnet.cad
Date: 
Tue, 7 Jun 2011 20:23:33 GMT
Viewed: 
20984 times
  

From: Reuben Pearse
Date: Freitag, 3. Juni 2011 07:43
To: Nils Schmidt
Subject: Fwd: Re: FWD: LDraw-Pattern-Creator

Hi Nils,

I've posted some details about you LDraw-Pattern-Creator program here:
http://www.pearse.co.uk/lego/links/ldrawpatterncreator/

...and I've encouraged part authors to experiment with the program and >provide feedback.

I hope this is OK. Please let me know if you have other LPC information you >would like me to put on the website.

Thanks

Reuben
reuben@pearse.co.uk

Hi Reuben!

Thank you for hosting my program on your web space, for promoting my program to
other part authors and Thanks to J.C. Tchang for writing this great manual!

I am still working on the LPC.

Here is my TODO-List:
- To write a documentation or a manual
- To implement automatic primitive recognition and substitution (the program identifies capabilities of xxxdisc.dat and xxxndis.dat primitives and 48-primitive counterparts)
Status of implementation: Nearly finished, but it will take two weeks or more to
complete, because of the heavy mathematics in discrete geometry.

Example of this feature:

The method expects triangles like
3 16 0 0 0 0.6561 0 -0.7547 0.89499448 0 -0.44617786
3 16 0 0 0 0.89499448 0 -0.44617786 0.99757668 0 -0.06972006
3 16 0 0 0 0.99757668 0 -0.06972006 0.9483568 0 0.3173471
3 16 0 0 0 0.9483568 0 0.3173471 0.7547 0 0.6561
3 16 0 0 0 0.7547 0 0.6561 0.44617786 0 0.89499448
3 16 0 0 0 0.44617786 0 0.89499448 0.06972006 0 0.99757668
3 16 0 0 0 0.06972006 0 0.99757668 -0.3173471 0 0.9483568
3 4 2 0 2 0.7547 0 0.6561 0.44617786 0 0.89499448
3 16 0 0 0 -0.3173471 0 0.9483568 -0.6561 0 0.7547
3 16 0 0 0 -0.6561 0 0.7547 -0.89499448 0 0.44617786
3 16 0 0 0 -0.89499448 0 0.44617786 -0.99757668 0 0.06972006
3 16 0 0 0 -0.99757668 0 0.06972006 -0.9483568 0 -0.3173471
3 16 0 0 0 -0.9483568 0 -0.3173471 -0.7547 0 -0.6561
3 16 0 0 0 -0.7547 0 -0.6561 -0.44617786 0 -0.89499448
3 16 0 0 0 -0.44617786 0 -0.89499448 -0.06972006 0 -0.99757668
3 16 0 0 0 -0.06972006 0 -0.99757668 0.3173471 0 -0.9483568
3 16 0 0 0 0.3173471 0 -0.9483568 0.6561 0 -0.7547

and converts this input to only two lines
1 16 0 0 0 0.6561 0 0.7547 0 1 0 -0.7547 0 0.6561 4-4disc.dat
3 4 2 0 2 0.7547 0 0.6561 0.44617786 0 0.89499448
The algorithm is very complex to implement for ndis-primitives, but I will make
it. This feature is really nice to have.
- Auto-Rectifie the pattern while exporting the pattern as DAT (I have to ask Philo. He is the author of the program rectifier [http://www.philohome.com/isecalc/rectifier.htm] )
- Implement the CSG Add-function (http://en.wikipedia.org/wiki/Constructive_solid_geometry)
- Minor improvements on DAT- in- and export
- General bugfixing, code- and GUI-cleanup.
- Performance improvements

Thanks for your support

Nils



Can anyone assist with providing translations for English and other
languages? If you are able to help with translating then I would suggest that
you download the zip file here:
http://www.pearse.co.uk/lego/downloads/Manuel-LPC-v1beta.zip

...make amendments and then email me the updated zip file (email address on the
website)

Bye for now

Reuben

I'll translate it into English and German.


Nils

 

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