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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,312
» Latest member: KarriWatt
» Forum threads: 6,176
» Forum posts: 51,778

Full Statistics

Online Users
There are currently 252 online users.
» 0 Member(s) | 248 Guest(s)
Applebot, Bing, Google, Yandex

Latest Threads
Transparent sticker colou...
Forum: General LDraw.org Discussion
Last Post: Magnus Forsberg
3 hours ago
» Replies: 0
» Views: 64
Fix for slightly incorrec...
Forum: Part Requests
Last Post: Huib Versteeg
8 hours ago
» Replies: 4
» Views: 692
A fresh list of "most com...
Forum: Part Requests
Last Post: tom alphin
Today, 5:19
» Replies: 5
» Views: 390
Lego Town Racer 1996 - 63...
Forum: Official Models
Last Post: Chris Böhnke
Yesterday, 23:39
» Replies: 14
» Views: 1,815
Eyesight on Linux
Forum: Rendering Techniques
Last Post: Orion Pobursky
Yesterday, 18:56
» Replies: 12
» Views: 8,489
Another common varient: 1...
Forum: Part Requests
Last Post: Rene Rechthaler
2025-09-12, 14:51
» Replies: 8
» Views: 5,475
1Lx1Lx2L brick with studs...
Forum: Parts Authoring
Last Post: SNIPE
2025-09-12, 10:14
» Replies: 0
» Views: 573
LDraw Colors for OpenScad
Forum: LDraw Editors and Viewers
Last Post: Hageta
2025-09-12, 10:03
» Replies: 0
» Views: 513
Img4Dat integrated in LDP...
Forum: Parts Authoring
Last Post: Nils Schmidt
2025-09-11, 20:04
» Replies: 6
» Views: 955
TXT2DAT integrated in LDP...
Forum: Parts Author Tools
Last Post: Nils Schmidt
2025-09-11, 19:47
» Replies: 4
» Views: 1,044

 
  Tutorial: joining studs to a non-planar surface
Posted by: Philippe Hurbain - 2012-01-15, 12:41 - Forum: Parts Authoring - Replies (6)

This decribes method to create the junction between stud primitives and a non-planar surface. It is not perfect (there are some T-junctions created in the process), but it's pretty efficient. It is also the opportunity to see an example of usage of many tools...

[Image: stb0.gif]
We start with the partial part, stud4a are in position and we need to join them to dome shaped surface above.
Starting file: stb0.dat
an



[Image: stb1.gif]
Extract stud4a primitives -> stb1.dat


[Image: stb2.gif]
Inline (using LDDP) stb1 contents (one level), and remove everything but 4-4edges. Inline the result -> stb2.dat

[Image: stb3.gif]
Using MLCad, extract bottom surface from stb0.dat -> stb3.dat

[Image: stb4.gif]
Use Slicerpro on stb2.dat as pattern, stb3.dat as former -> stb4.dat

[Image: stb5.gif]
Generate the tubes using Ytruder. Stud4a top is at Y=44, so we use Ytruder with projection on plane Y=44 -> stb5.dat

[Image: stb6.gif]
Problem is that the orientation of the generated surface depends only on the orientation of lines in stb4.dat. If you look at the file in BFC mode, orientation is not correct. Windz should be able to do clean up, but stb5.dat has no clear interior/exterior, so Windz doesn't perform well on it. We will add the stud4a primitives (from file stb1.dat) to it to make things clear, we also remove the edge lines inserted by Ytruder on the edges of non circular paths -> stb6.dat

[Image: stb7.gif]
Windz can now find correct bfc orientation -> stb7.dat

[Image: stb8.gif]
We can now reintegrate all these elements (edge lines from stb4.dat, cylinders from stb7.dat) in stb0.dat -> stb8.dat

[Image: stb9.gif]
Now we go on with generation of walls between studs.
First step, using MLCad we create top of walls as rectangles that enter in cylinder tubes -> stb9.dat

[Image: stb10.gif]
Adjust Y value of stb1.dat so that height of stud4a be in the middle of quads in stb9 (we could have used cylinders of stb7, but since there are more cuts the result would not be as clean). Inline multilevel down to quad and lines -> stb10.dat

[Image: stb11.gif]
Now cut stb9.dat with the studs (stb10.dat) using Intersector -> stb11.dat
stb11.dat

[Image: stb12.gif]
Create intersection lines with Isecalc ->stb12.dat

[Image: stb13.gif]
Remove the unwanted (yellow) surfaces from stb11.dat, and add edge lines from stb12.dat then restore proper colors -> stb13.dat

[Image: stb14.gif]
Generate remaining edge lines with Edger2, options "Create only unmatched edges" and "write only new lines". The result contains only side edge lines, those where we want to grow side surfaces. Change edge color to 24 -> stb14.dat

[Image: stb15.gif]
We will now use the same process as the one used for stud cylinders.
Use Slicerpro on stb14.dat as pattern, stb3.dat as former -> stb15.dat

[Image: stb16.gif]
Generate the side walls using Ytruder. Top is at Y=35, so we use Ytruder with projection on plane Y=35 -> stb16.dat

[Image: stb17.gif]
Merge stb13, stb14, stb15 and stb16 -> stb17.dat

[Image: stb18.gif]
Run Windz on stb17 to improve BFC. Unfortunately stb17 has no clear inside/outside, so Windz result is not perfect, and you still have to flip a few quads manually. It can be done relatively easily using LDView tree view with highlight to find line number of inverted elements, and change winding in LDDP. -> stb18.dat

[Image: stb19.gif]
Add it to stb8 ->stb19.dat

Print this item

  LEGO Themes in OMR files
Posted by: Willy Tschager - 2012-01-13, 11:45 - Forum: Parts Authoring - Replies (4)

Hi folks,

I've got a request from Mike Heidemann in regard of the:

0 !THEME Theme name

command in OMR files. We discussed how detailed and how "deep" we should go in the hierarchy of LEGO themes. We have therefore downloaded BL's theme list you'll find at the LDraw wiki:

http://wiki.ldraw.org/index.php?title=LDraw_Themes

Look at the list it seems reasonable to use two levels - kind of:

Adventurers / Desert
Adventurers / Dino Island
Adventurers / Jungle

but not three:

Town / Classic Town / Airport
Town / Classic Town / Building
Town / Classic Town / Cargo

for most themes, while some could stand just with the main theme such as:

Creator
Universal Building Set

However sometimes things go wired when you have:

Town / City / Police
Town / Classic Town / Police
Town / Police
Town / World City / Police

We would like to invite the community to come up with some general rules which could be used to cut town the current list.

w.

Print this item

  Parts Tracker history graph improved
Posted by: Chris Dee - 2012-01-11, 21:43 - Forum: LDraw.org Announcements - Replies (1)

The Parts Tracker history graph has been improved to always show the latest daily entry on the right-hand side, and count backwards from there for the preceding bars. Previously it counted forward from "the beginning of time", so you could have to wait up to 15 days to see the current state.

Print this item

  2012/2013 LDraw.org Steering Committee: List of nominees
Posted by: Tim Gould - 2012-01-10, 22:10 - Forum: LDraw.org Announcements - No Replies

Here we summarise the results of the nomination process. The post contains a list of nominees in the format:
Nominee name : Nomination Status (Nominator, Second)

Orion Pobursky : Accepted (Tim Gould, Travis Cobbs)
Willy Tschager : Accepted (Tim Gould, Travis Cobbs)
Scott Wardlaw : Accepted (Tim Gould, Travis Cobbs)
Chris Dee : Accepted (Tim Gould, Travis Cobbs)

Kevin Clague : Pending (Tim Gould, Travis Cobbs)
Sergio Reano : Pending (Scott Wardlaw, Orion Pobursky)
Greg Taft : Pending (Scott Wardlaw, Orion Pobursky)

Travis Cobbs : Declined (Tim Gould)
Tim Gould : Declined (Jean-Philippe Ouellet)
Philippe Hurbain : Declined (Jean-Philippe Ouellet, Tim Gould)
Roland Melkert : Declined (Tim Gould, Travis Cobbs)
Magnus Forsberg : Declined (Travis Cobbs, Philippe Hurbain)
Allen Smith : Declined (Tim Gould, Travis Cobbs)
Jim DeVona : Declined (Jean-Philippe Ouellet, Tim Gould)
Ken Drew : Declined (Scott Wardlaw, Orion Pobursky)

Replies to this have been disabled. The nominations thread is where they belong.

Print this item

  2012/2013 LDraw.org Steering Committee: Call for Nominations
Posted by: Willy Tschager - 2012-01-10, 21:59 - Forum: LDraw.org Announcements - Replies (27)

Per the LDraw.org Bylaws at http://www.ldraw.org/article268.html, Subsection
6.03(a), the 2011/2012 Steering Committee hereby calls for the community to
nominate individuals as candidates for the 2012/2013 Steering Committee[1].

Please post nominations in response to this message. Nominations will only be
recognized if they are in response to this message.

Per ss.6.03(a), you must specify the name of the person you are nominating,
along with your name. Another member of the community must second the nomination
in a reply, and the nominee must publicly accept the nomination in the same
channel (direct reply to the nomination or second) in order to be valid. If the
nominee does not accept, it will be assumed that he or she has declined, and
they will not be placed on the ballot.

Nominations will close at 11:59 PM GMT on 29 February 2012. This means that to
be listed on the ballot, a candidate must have been nominated, seconded and must
have formally stated acceptance by that time.

The Steering Committee will give sufficient notice of the election and election
procedures per ss.6.03(b).

NOTE: subsection 6.03(b) states that elections should take place before March 1.
We interpret this to mean that we will commence the election on March 1, but
since it is electronic, it will run for 2 weeks, just as last time. The exact
time and date of start and end will be announced sometime very close to (but
after) 0000 GMT March 1.

Again, thanks to all of you for your commitment to the goals of the
organization, and in working with us this year. Please, stay involved with
LDraw.org and keep it moving forward!

Willy Tschager
On behalf of the LDraw.org Steering Committee

--
[1] Try not to confuse the LDraw.org Steering Committee (SteerCo) with the LDraw
Standards Committee (LSC). The Steering Committee sets the course for the LDraw
Organization while the Standards Committee deals with the LDraw File Format.

Print this item

  Leading or trailing white space characters in file names
Posted by: Orion Pobursky - 2012-01-10, 19:04 - Forum: Parts Authoring - Replies (9)

Following the discussion in the Standrad Committee forum:

Allen Smith Wrote:I don't consider leading whitespace on a line to be valid. I think there's a difference between "separates" and "starts with." My parser will accept it some places by accident, but considers it a syntax error in many other places.

Why not? Indentation for clarity, separation of blocks of code, etc... is used all the time. I think this is an unnecessary restriction that most users will simply ignore.

Print this item

  MLCad.ini 2011-02 Update Now Available
Posted by: Willy Tschager - 2012-01-10, 16:01 - Forum: LDraw.org Announcements - No Replies

Hi folks,

I just updated the MLCad.ini file accordingly to the latest LDraw.org parts
update 2011-02. The .ini file defines (among other things) the parts available
in MLCad's minifigure generator. This is by far the most extensive addition of
minifig parts I remember.

Download the file from my website: http://www.holly-wood.it/mlcad/ini-en.html

A direct download is available at: http://www.holly-wood.it/files/mlcad/MLCad.ini

Bye, w.

Print this item

  Technic Series
Posted by: Oh-Seong KWON - 2012-01-10, 11:33 - Forum: Official Models - Replies (33)

Anchor for Technic Series

Print this item

  LDraw installation folder
Posted by: Jetro de Château - 2012-01-09, 15:46 - Forum: General LDraw.org Discussion - Replies (15)

Traditionally LDraw has always been installed under C:\LDraw on Windows machines.
I never liked the idea of placing it directly under C.. somehow it seemed unorganised and made more sense under Program Files. The AIOI does just that and on my Windows / machine creates the LDraw folder under C:\Program Files (x86)\LDraw. This has 2 drawbacks though.

First of all, the AIOI is used by many people who want a simple, fast out-of-the-box LDraw installation. But when they want to update the parts library they find the proposed installation path given by the executable LDraw.org provides is the traditional C:\LDraw. They are unlikely to remember where the AIOI installed everything and if they simply go ahead and install the update will not show up in their MLCad.

Secondly, if they are clever enough to use LDView to update their library they run into another problem: LDView will throw an error and not install the update. The reason is that LDview has no admin rights to make any changes to the installation folder and so cannot install the update. In order to fix this a user needs to go into C:\Program Files (x86)\LDraw and remove the "read-only" option for that folder and all files and folders included in it.

I have addressed this issue on the HispaBrick Magazine blog.

Neither of these situations is ideal. Granted, LDraw users might be expected to have some computer skills, but ideally LDraw should be accessible to anyone without the need to know these things.

I don't know which location is preferable for LDraw (C:\Program Files (x86)\LDraw or C:\LDraw) but it would make sense to help users as much as possible to avoid any confusion. Maybe the LDraw.org update could include an AIOI option to make sure files are installed at the right location.

At the same time, maybe it is possible for the AIOI to change privileges for the installation folder so as to ensure that LDView can actually carry out a parts update without running into problems.

Neither of these two situations is ideal.

Print this item

  BFCing
Posted by: Steffen - 2012-01-09, 1:17 - Forum: Parts Authoring - Replies (22)

Does anyone of you have an executable of WINDZ available to give me?
It seems to not be downloadable anywhere anymore.
I've been BFCing parts in the past some time, always using the "manual method", i.e.,
looking at the part in LDView, identifying the wrongly oriented faces, coloring them in MLCad,
then changing their winding in LDDP, or inserting INVERTNEXT's.
When I look at parts in red/green BFC checking mode in LDView, I always thought
that the BFCing process - to a certain extent - should be easily automatable;
I think that's what WINDZ also does:
just render the part from various perspectives, and flip all faces that appear "red" during that.
Of course, if a surface gets flipped twice this way, it cannot automatically be oriented correctly,
and manual post-correction is needed. However, for a majority of parts, the described
method should trivially work like a breeze.
Does anyone of you know of software which does that?
I want to speedup my BFCing processing...
Having such a software would allow us to instantly BFC big amounts of our library,
and reduce the remaining manual work to the parts which really require attention.
My best preference would be a tool like edger, command line based,
and simply taking an input file, outputting a result file where all faces are oriented correctly,
and the file otherwise unchanged. Undecidable surfaces should be colored in a user-selected color,
so they can be taken care of manually.

Print this item