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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,155
» Latest member: Consulting
» Forum threads: 6,081
» Forum posts: 51,249

Full Statistics

Online Users
There are currently 603 online users.
» 2 Member(s) | 597 Guest(s)
Applebot, Bing, Google, Yandex, Mark Kennedy, Orion Pobursky

Latest Threads
Same set, different sheet...
Forum: Parts Tracker Discussion
Last Post: Orion Pobursky
3 hours ago
» Replies: 7
» Views: 174
71613/30346c01 too high?!
Forum: Part Requests
Last Post: Chris Böhnke
3 hours ago
» Replies: 18
» Views: 4,535
5724pr0001 Bubble Canopy ...
Forum: Part Requests
Last Post: SNIPE
2025-07-12, 21:08
» Replies: 2
» Views: 206
Modulex parts
Forum: Parts Authoring
Last Post: Philippe Hurbain
2025-07-12, 11:38
» Replies: 26
» Views: 4,076
Parts we are Working on -...
Forum: Part Requests
Last Post: Jeff Jones
2025-07-12, 11:23
» Replies: 157
» Views: 150,089
Friends 2014
Forum: Official Models
Last Post: Takeshi Takahashi
2025-07-11, 16:20
» Replies: 18
» Views: 16,820
LDCAD about Add custom p...
Forum: LDraw Editors and Viewers
Last Post: Nate87
2025-07-11, 8:13
» Replies: 5
» Views: 3,206
Hi-res logo primitives
Forum: Official File Specifications/Standards
Last Post: Jens Brühl
2025-07-10, 20:40
» Replies: 16
» Views: 1,263
Part 5561, Door 1 x 4 x 1...
Forum: Part Requests
Last Post: Gerald Lasser
2025-07-10, 9:55
» Replies: 1
» Views: 356
LDConfig Update: More dis...
Forum: Official File Specifications/Standards
Last Post: Jeff Jones
2025-07-09, 20:46
» Replies: 7
» Views: 607

 
  parts tracker: "BFC rationalisation"
Posted by: Steffen - 2012-10-16, 8:18 - Forum: Parts Authoring - No Replies

This post explains the small history line "BFC rationalisation" which appears
in the bunch of updated official files that Chris just has uploaded to the PT for me, thanks, Chris!

I had recently done a systematic syntax check of all currently official files.
Through this I discovered these files having some common glitches, which I ironed out.
They were:

(a) appearance of header elements throughout the file, mostly due to inlining relicts, e.g. "Name: xyz" or "BFC CERTIFY CCW"
(b) repeated BFC CERTIFY statements throughout the file (probably due to MLCad save operation)
© changing of winding from CW to CCW or vice versa inside the file (usually a result of inlining)
(d) other syntax errors

Print this item

  UCS Millenium Falcon Animated Build Rendered With LDView
Posted by: Rob - 2012-10-15, 16:30 - Forum: Rendering Techniques - Replies (4)

Hi All,

I hope this is OK to post here...

Having previously created a number of animations using POV-Ray for rendering the frames I thought I would try using LDView to render the frames required instead. (Thanks to Travis (author LDView) for answering a number of my questions in this forum which helped me to get this working).

First online result of this can be seen at the folllowing link:

http://www.youtube.com/watch?v=Y7Iq3wju3O0

Rendering this is POV-Ray would take about 100 times longer... (Such as http://www.youtube.com/watch?v=TudW-8FjMzE)

The 'falling parts' code (my software) is new and rather than one part falling at time (which is how I have done these animations previously) now multiple parts are in motion in any one frame. The 'algorithm' is not perfect yet, some parts still 'fly through' other parts - work in progress ...

Rob

(TCBUK)

Print this item

  Complement Primitive
Posted by: Kevin Roach - 2012-10-14, 6:23 - Forum: Parts Authoring - Replies (3)

I was wondering if there is a complement primitive for this file? I tried flipping and turning the 1-8cyls2.dat file. But that does not work. Could somebody please help? Thank you in advance.



Attached Files
.dat   test-prim.dat (Size: 67 bytes / Downloads: 0)
Print this item

  separating metal portions of 9V train track
Posted by: Steffen - 2012-10-13, 12:16 - Forum: Parts Authoring - Replies (5)

I was wanting to separate the metal portions of
http://www.ldraw.org/cgi-bin/ptdetail.cg...859c00.dat
into 1 or more separate files.

Reason for this was that in the current implementation,
when you use that part in a model,
and you assign some color to it,
all edges on metal appear in that color,
this makes that part look weird.

Reason for that is that all edges and optional edges in that file
are coded in color 24, regardless whether they bound plastic or metal parts.

My problem is now this:

I can easily identify quads and triangles of color 494 (metal) and move them to a separate file.
Second step should have been to also move their bounding edges and optional edges there.

Would I have finished that, then the color problem would be gone, because in that new file X.dat,
I would use color 16 for quads and triangles, and 24 for edges and optional edges,
and then reference that file from 2859c00.dat, using color 494. This way, both the surfaces and
the edges would appear in correct color.

However, identifying which edges to move to X.dat is terribly difficult.
There are tons of such edges, and manual selection will introduce lots and lots of errors.

To accomplish this task, I would need help of a tool which doesn't exist yet.

It would let me specify some color, by which I would like to identify affected quads and triangles
(here: 494).
The tool should then run through the file and identify all edges and optional edges which bound
these, i.e., which share coordinates with them.

Using such a tool, it would be easy to find all edges in 2859c00.dat which need to be moved to a separate file.

(Of course, from a logic point of view, each own metal portion should probably go into its own,
separate ~part file, but to me that's second priority. Solving the miscolored edges problem has first.)

Unfortunately, without this tool, I sadly have to give up on this task for now :-(

Print this item

  How to get the unofficial parts library to work in Mac OS
Posted by: SNIPE - 2012-10-12, 22:32 - Forum: Parts Authoring - Replies (3)

Hi,

This afternoon I've been looking at the cool 'unofficial parts library', they looked good on the website but when I opened them in Bricksmith I cept getting 'Bricksmith couldn't find all of the pieces in this file. The following are missing: s\xxxx.dat, s\xxx.dat', (those filenames are just an example) and realized why this was, it's because all of the file 'scripts' / contents when opened in a text editor have an '\' in them when it should be an '/', replacing all of them allows Bricksmith to find the subparts (located in the 's' directory).

Now, the problem was editing these thousands of files so I found a program called textmate ,when I went back the parts opened fine with no errors and had no changes to the file extention.

Here's how to fix this:

Download the unofficial parts library and extract the 'LDRAWUNF' directory to the bricksmith folder so you have the folders 'LDRAW' and 'LDRAWUNF' (LDRAW should already be there as it comes with bricksmith).

Find the 's' subfolder in 'LDRAWUNF'>'parts' and move it onto the desktop (make sure it is moved not just duplicated).
Download 'Textmate' then after installing. goto 'file', 'open'.
Locate the 'parts' folder in 'LDRAWUNF' and in the parts folder select all of the dat files and hit 'open'. (there should be nothing but .dat files in that folder since we moved the 's' folder).

Goto 'edit' and click 'find', then 'find in project'.

Type in the 'find' bar '\' (with no quotes) and hit 'find'.

In the 'replace' box, type in '/' (no quotes) and hit 'replace all'

Close the box and go to 'file', 'save all'.

Now go ahead and move the 's' folder back into the 'parts' folder in 'LDRAWUNF'

All or most parts should now return no errors when being opened.

***NOTE*** the 'parts' or 'p' folder containing official parts that comes with bricksmith should not be touched for this fix.

Note to mods, Im not sure what category of the Ldraw forum this should be located in.

Print this item

  Call for votes: Update OMR specs
Posted by: Willy Tschager - 2012-10-12, 20:15 - Forum: Standards Board - Replies (5)

Please vote on the proposal below. Please modify the Subject to include your name and vote, in addition to giving your vote in the text.



Change at http://www.ldraw.org/article/593.html:

Quote:Each model in the OMR will consist of several files that are packaged together into a single MPD file. For sets that include instructions for multiple models, each model will have its own MPD file. Each MPD for the set will be named in the following manner:

<Set Number> - <Set Name>[ - <Sub Model Name>]

Where:
<Set Number>: The number assigned on the container of the set.
<Set Name>: The name of the set printed on the container in English.
<Sub Model Name>: This is Optional in most cases. This is required for alternate models that are detailed in instructions (e.g. the Creator theme). In this case the naming is left to the discretion of the author but should be descriptive of the model contained in the MPD.

to (additions in italics):

Quote:Each model in the OMR will consist of several files that are packaged together into a single MPD file. For sets that include instructions for multiple models, each model will have its own MPD file. Each MPD for the set will be named in the following manner:

<Set Number>[-<Optional Qualifier>] - <Set Name>[ - <Sub Model Name>]

Where:
<Set Number>: The number assigned on the container of the set.
<Optional Qualifier>: Is a sequential number, starting with 2.
<Set Name>: The name of the set printed on the container in English.
<Sub Model Name>: This is Optional in most cases. This is required for alternate models that are detailed in instructions (e.g. the Creator theme). In this case the naming is left to the discretion of the author but should be descriptive of the model contained in the MPD.

The <Optional Qualifier> is not mandatory and gets added only if there is more than one set that could be assigned the same <Set Number>. The first set using a given number would be understood to never contain the qualifier however numbering should start with the oldest set and some investigation should be done in existing set databases.

Example:
6901 - Mobile Lab.mpd (Produced in 1980)
6901-2 - Space Plane.mpd (Produced in 1998)

Print this item

  First download Mac
Posted by: Jean-Louis Poncet - 2012-10-12, 12:18 - Forum: Help - Replies (9)

Hello, I try the step 1 download for mac. Nothing happens. With the help link (http://www.ldraw.org/article/96), answer "not found". Small temporary outage?

Print this item

  Colour use
Posted by: Chris Beckett - 2012-10-11, 0:06 - Forum: Help - Replies (18)

This is a repost of something I just put up on Flickr. Hopefully this image works; if not, the link to Brickshelf should at least be active...

[Image: colours_complete.png]

Here is something that has been bugging me for ages, and I was wondering if anyone could shed some light on it.

These images show the POV-Ray output for various rendering conditions. Three colour definitions are used - MLCAD standard, LGEO and Koyan's list. For the standard MLCAD colours, POV-Ray checks the list of pre-defined colours (I am assuming this – please correct me if wrong) and uses those, leaving everything else as “color 7” (lt grey). For example, the reddish brown and lt flesh plates are both lt grey, as these are newer colours and not on the standard list. For the modified “solid” and “24-bit” colours, POV-Ray defines each colour itself, rather than referring to a list, so every colour is included. The down side is that they do not look very realistic in POV-Ray, with the exception of the 24 bit colours (I have been using these recently).

When using LGEO, POV-Ray first checks each colour against LGEO's list and then defines that colour if it is not there. However, having done this, it goes on to associate “color 7” with those parts which have colours not on the MLCAD standard list, even though new definitions are available. Again, this can be seen for the reddish brown and lt flesh plates. The same thing happens if you use the “koyancolours” file – apparently all it does is redefine the colours on the standard list, even though it includes many more. Adding new colours to the list does not work, but reassociating existing colours to ones that are not working (e.g. changing a bizzare purple to lt flesh and calling the bizzare purple colour code) does work – the lt flesh plate is now the right colour. Now for the weird bit – if you go into the POV-Ray file and change the remaining “color 7” tags (Koyan added reddish brown to his list, so this plate is no longer an issue) to colours on the koyancolours list, which were the originally intended ones, they come out fine. The case here is the lt and dk bley, colours 71 and 72 – these do not work in standard MLCAD, LGEO or unmodified POV files for koyancolours.

In short, does anyone know why on earth this is happening, or is this a more general concern for how MLCAD does its thing?

Many thanks,

Chris

Print this item

  Scoping rules for TEXMAP
Posted by: Allen Smith - 2012-10-09, 16:32 - Forum: Standards Board - Replies (6)

This is a proposal for changing the scoping rules for TEXMAP:

Add bolded text:

Quote:This texture will remain in effect until:
  • An END is given within the current file
  • The file in which the START is located ends
  • A STEP command is reached
The texture will remain active when processing an included file unless overridden within that file.

and change:
Quote:The END command stops using the current texture and restores the previous texture to current status. This means that nested commands with START will form a stack of textures and the END command will pop those textures. However, END cannot appear in a different file from START. If an END command is given in a sub file without a START having been given in that same file, the END stops the use of a texture specified in a calling file, then that texture will be restored to use when the sub file is exitedhas no effect.

These scoping changes are critically important to implementing a hierarchical, object-oriented model to textures. It will be impossible for me to implement the standard as it currently exists. I already have a working implementation of the changes described above (*).

Allen

(*) with the exception of the stack behavior for nested textures, which is a simple enough addition

Print this item

  my MLCad parts tree setup
Posted by: Steffen - 2012-10-09, 6:10 - Forum: MOCs (My Own Creations) - Replies (8)

Just for backup, but also for anybody interested, I'm posting here my current MLCad parts tree setup
which I over some years now found convenient to use.
This is especially useful for me still since MLCad doesn't know of the !CATEGORY keyword yet,
and thus will not show parts in their categories initially.

I'm attaching the MLCad.grp file here to this post (rename it from MLCad.grp.txt to MLCad.grp after download),
so you can directly use it to replace your default one if desired.

Here's a textual description of the contents:

Code:
--------------------------------------------------------------------------------------------------------------
MLCad Tree Group Name                  Expression
--------------------------------------------------------------------------------------------------------------
Sticker                                <Sticker
Primo                                  Primo
Duplo                                  <Duplo & !Primo
Belville & Scala                       <Belville | <Scala
Fabuland                               <Fabuland
Figure                                 <Figure | <_Figure | <Microfig
Boat                                   <Boat
Maxifig & Arm & Homemaker              <Maxifig | <Arm | <Homemaker
Minifig                                <Minifig
Animal                                 <Animal
Plant                                  <Plant
Fence & Gate                           <Fence | <Gate
Wheel & Tyre                           <Wheel | <Tyre
Vehicle                                <Car | <Bike | <Tractor | <Vehicle | <Tipper | <Trailer | <Exhaust
Baseplate                              <Baseplate
Brick                                  <Brick
Arch                                   <Arch
Slope                                  <Slope
Dish & Cone                            <Dish | <Cone
Panel                                  <Panel
Plate                                  <Plate
Tile                                   <Tile
Bracket                                <Bracket
Tail & Support                         <Tail | <Support
Hinge & Turntable                      <Hinge | <Turntable
Crane & Excavator & Winch & Forklift   <Crane | <Excavator | <Winch | <Forklift
Windscreen & Window & Glass            <Windscreen | <Window | <Glass
Door                                   <Door
Flag                                   <Flag
Antenna & Bar                          <Antenna | <Bar
Roadsign & Signpost & Lamppost         <Roadsign | <Signpost | <Lamppost
Container & Cylinder                   <Container | <Cylinder
Wedge & Wing & Cockpit                 <Wedge | <Wing | <Cockpit
Technic                                <Technic
Electric                               <Electric
Propellor                              <Propellor | <Jet
Monorail                               <Monorail
Train & Magnet                         <Train | <Magnet
Mursten                                <Mursten
Znap                                   <Znap
Rock                                   <Rock
String                                 <String
_ (Shortcut)                           <_ & !<_Figure
~ (Implementation Detail)              <~
LSYNTH                                 <LSynth



Attached Files
.txt   MLCad.grp.txt (Size: 1.15 KB / Downloads: 5)
Print this item