Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,686
» Latest member: Demetree Kallergis
» Forum threads: 6,409
» Forum posts: 53,146

Full Statistics

Online Users
There are currently 162 online users.
» 1 Member(s) | 157 Guest(s)
Applebot, Baidu, Bing, Google, SNIPE

Latest Threads
Tip on where to put "0 BL...
Forum: Parts Authoring
Last Post: Hageta
1 hour ago
» Replies: 0
» Views: 17
2026-02 Update status
Forum: Parts Tracker Discussion
Last Post: Orion Pobursky
4 hours ago
» Replies: 0
» Views: 36
Friends 2026
Forum: Official Models
Last Post: Philippe Hurbain
Today, 8:07
» Replies: 3
» Views: 212
Dropping Frame Rate when ...
Forum: LDraw Editors and Viewers
Last Post: Gerald Lasser
Yesterday, 23:48
» Replies: 4
» Views: 337
LDView 4.7 Released
Forum: LDraw Editors and Viewers
Last Post: Orion Pobursky
Yesterday, 15:10
» Replies: 1
» Views: 132
Technic 1992
Forum: Official Models
Last Post: Takeshi Takahashi
Yesterday, 13:22
» Replies: 32
» Views: 47,219
SF90 XX tires 5810 to go ...
Forum: Part Requests
Last Post: Magnus Forsberg
2026-02-23, 22:38
» Replies: 2
» Views: 312
Part request for Set 4205...
Forum: Part Requests
Last Post: Alfred Schmitz
2026-02-23, 15:54
» Replies: 6
» Views: 390
About size of flattened s...
Forum: Official File Specifications/Standards
Last Post: Lisa Winter
2026-02-22, 17:47
» Replies: 27
» Views: 3,746
4.5L technic axle and new...
Forum: Part Requests
Last Post: SNIPE
2026-02-22, 2:16
» Replies: 6
» Views: 777

 
  Flat surface
Posted by: Stephan Meisinger - 2014-02-23, 9:47 - Forum: Parts Authoring - No Replies

Hi,

had a discussion about flat surface on a old minifig head part. Philippe stated he is using his eyes to spot un non-flat surface.
This hunting me in my dreams tonight. Because I'm lazy or just have bad eyes - I tried to come up with some coding magic to improve my eyes.

So my idee was to go through a given file an calculate normlized cross product of each plane and print those value

rename CheckFlat.txt to CheckFlat.java
compile a java binary with "javac CheckFlat.java"
run "java CheckFlat ../Downloads/3626p05s01.dat"

it is possible to tweak precision
java CheckFlat ../Downloads/3626p05s01.dat X Y Z
X: output precision (default is 5)
Y: internal precsision for dividing and square root (default is 150)
Z: rounding (default is 5)
possible values are:
ROUND_CEILING 2
ROUND_DOWN 1
ROUND_FLOOR 3
ROUND_HALF_DOWN 5
ROUND_HALF_EVEN 6
ROUND_HALF_UP 4
ROUND_UNNECESSARY 7
ROUND_UP 0

programm is not very error prove since it was written this morning as a prototyp. So e.g. a very complex file will properly result into an error. Also some rounding values may cause an error too.

It also only check one of the two possible triangle of an quad. All other lines are just printed. You will get something like this:



0 ~Minifig Head with Standard Grin and Eyebrows Pattern - Half Face
0 Name: s\3626p05s01.dat
0 Author: Chris Dee [cwdee]
0 !LDRAW_ORG Unofficial_Subpart
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt

0 BFC CERTIFY CCW

0 !HISTORY 2014-02-13 [smr] BFC, t-junctions, moved half face from 3626bp05 to s\3626p05s01.dat

0.55561 0.00000 -0.83144
0.55588 0.00013 -0.83126
0.55520 0.00002 -0.83172
0.55501 0.00000 -0.83185
0.55507 0.00000 -0.83180

0.19476 -0.00040 -0.98085
0.19519 -0.00001 -0.98076
0.19548 0.00000 -0.98071
0.19525 0.00010 -0.98075
0.19517 0.00000 -0.98077
0.19594 -0.00025 -0.98062
0.19478 -0.00029 -0.98085
0.19548 0.00000 -0.98071
1 16 3.5 10 -12.304 -1.25 0.2486 0 0 0 -1.25 -0.2486 1 0 4-4ndis.dat
0.19779 0.00000 -0.98024
0.19779 0.00000 -0.98024
0.19504 0.00001 -0.98080
0.19545 0.00022 -0.98071
0.19506 0.00015 -0.98079
0.19504 0.00000 -0.98080
0.19504 0.00000 -0.98080
0.19506 0.00000 -0.98079

0.19548 0.00000 -0.98071
0.19484 0.00000 -0.98084
0.19474 -0.00074 -0.98085
1 0 3.5 10 -12.304 -1.25 0.2486 0 0 0 -1.25 -0.2486 1 0 4-4disc.dat
0.19504 0.00000 -0.98080
0.19487 -0.00041 -0.98083
0.19423 0.00000 -0.98096

5 24 4.975 4 -12.01 4.975 17 -12.01 0 4 -13 9.192 4 -9.192
5 24 9.1923 4 -9.1923 9.1923 17 -9.1923 4.9751 4 -12.0107 12.0107 4 -4.9751



Attached Files
.txt   CheckFlat.txt (Size: 4.89 KB / Downloads: 0)
Print this item

  How to use helper parts in MLCad v3.4
Posted by: Zhengrong Zang - 2014-02-22, 9:17 - Forum: General LDraw.org Discussion - Replies (6)

I want to use those helper parts (http://www.holly-wood.it/ldraw/helper-en.html) on MLCad v3.4, but I don't know how to install them because that article was based on o,design MLCad, what can I do?

Print this item

  LETGUI 1.7.2.0
Posted by: Michael Heidemann - 2014-02-22, 9:16 - Forum: Parts Author Tools - No Replies

I just released a new version of LETGUI.

Flipper and Unrectifier are now supported.
The full installer now includes also version 1.4 of Edger2.

Please leave your comments for this version in this thread. Thanks.

cu
mikeheide

LETGUI website

Print this item

  Part Difference
Posted by: Kevin Roach - 2014-02-20, 19:54 - Forum: Part Requests - Replies (2)

I was wondering if 14707 and 6108 are two different parts? Or one part with two different numbers.

Print this item

  SR 3D Builder 0.9.5.9
Posted by: Sergio Reano - 2014-02-20, 15:40 - Forum: LDraw Editors and Viewers - Replies (1)

Hi everybody,

here is another update of my SR 3D Builder.
It is a bit long since my last post on this forum and a lot of new functions have been added.
Here are the most significative. For a complete list, please refer to my application history web page

Download as usual from http://sr3dbuilder.altervista.org/

Addictions:

A lot of enhancements in selection copy. Some limitation with unregistered version.
it is recommended to look at the videos for new features instructions
- the mirror copy selection feature
- Selection can now be easily duplicate in a rectangular array region or just its perimeter
- Creation of regular polygons based on your current selection and two connection points
- Creation of star based shapes based on a selection and a center rotation point
- Support for Mindstorm cables
- Support for Power Function cables (still some little bug in the shape)

[attachment=1174]

Print this item

  Custom RGB colors
Posted by: Stephen - 2014-02-20, 13:06 - Forum: Parts Authoring - Replies (14)

I'm trying to find documentation that explains the encoding of custom colors.

http://www.ldraw.org/article/218.html#colours

The above link explains that custom ("direct") colors are defined as 0x2RRGGBB.

But if in MLCad I choose R=64 G=128 B=192 (which should be 0x24080C0) it shows in MLCad/LDView as 0x0455548C and is stored in the .ldr in decimal as 72701068 (which is 0x0455548C).

It seems to be encoded, but where's the specification of the encoding?

Print this item

  Is this a LPub bug?
Posted by: Zhengrong Zang - 2014-02-20, 12:15 - Forum: General LDraw.org Discussion - Replies (6)

I am using LPub to create instructions as attachments, can you tell me why?



Attached Files Thumbnail(s)
       
Print this item

  Bricklink: 3D images based on LDraw library, powered by Brigl
Posted by: Philippe Hurbain - 2014-02-19, 15:05 - Forum: General LDraw.org Discussion - Replies (6)

See for ex. http://www.bricklink.com/catalogItemPic.asp?P=62531 and click on 3D viewer.
A exclamation mark (!) below a thumbnail image indicates that there are 3D viewer and image.

Print this item

  New LDraw tools for parts authors: Unrectifier and Flipper
Posted by: Philippe Hurbain - 2014-02-18, 13:05 - Forum: Parts Author Tools - Replies (9)

I started these programs a few months ago, but it took me some time to iron out some bugs... and ages to be motivated enough to write documentation! Neither of them will revolutionize the art of LDraw parts authoring, but they can be helpful nonetheless!

As usual, documentation, source code and Windows executables are available (links below).

Enjoy!

Philo

[Image: ur1.gif]
Rectifier is a useful tool to consolidate triangles into quads and to keep file size down, but doing so make further improvements to the file more difficult. Unrectifier does the opposite, it expands Rect primitives into quads + lines, and split quads into triangle pairs. By default Unrectifier operates on the whole file, but it can also limit itself to key-colored elements. With some limitations, it is also able to update condlines around modified areas.

[Image: fl1.gif]
Flipper allows to flip a pair of triangles (change abc + SPAM CONTENT into abd + dca). This helps in some areas of "organic" meshes (eg. hair pieces) to make them smoother (or on the contrary to create a crease to add an edge line). Flipper operates on colored pairs of triangles, thus allows the user to choose the triangle pairs to swap. With some limitations, it is also able to update condlines around modified areas.

Print this item

  Rim 15038
Posted by: Max Martin Richter - 2014-02-17, 17:50 - Forum: Off-Topic - Replies (2)

Hej,
today I was visiting my local LEGO Dealer and got some time to look into his box for rims. I found some rims of set 41999. Okay, that's nothing special, but while doing second look, I found this:
[Image: 5649-1392658675.jpg]
[sub]Please note, that the rim on the right side is correct. The rim on the left side is a misprint - the other side of this rim is not printed.[/sub]

:-D


/Max

Print this item