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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,459
» Latest member: Brian Ching
» Forum threads: 6,273
» Forum posts: 52,397

Full Statistics

Online Users
There are currently 261 online users.
» 2 Member(s) | 254 Guest(s)
Applebot, Baidu, Bing, Google, Yandex, Orion Pobursky

Latest Threads
Rudo Villano
Forum: Part Requests
Last Post: Vincent Messenet
25 minutes ago
» Replies: 4
» Views: 172
Mursten
Forum: Parts Tracker Discussion
Last Post: Peter Blomberg
1 hour ago
» Replies: 14
» Views: 253
How to review texmap imag...
Forum: Parts Tracker Discussion
Last Post: N. W. Perry
7 hours ago
» Replies: 19
» Views: 883
6536 problem converting d...
Forum: Parts Authoring
Last Post: Hageta
Today, 0:35
» Replies: 3
» Views: 77
Certain parts are returni...
Forum: Parts Tracker Discussion
Last Post: Orion Pobursky
Yesterday, 23:58
» Replies: 0
» Views: 30
Parts Request- Marvel 202...
Forum: Part Requests
Last Post: James Simpson
Yesterday, 23:40
» Replies: 2
» Views: 351
Circle/curve generator?
Forum: LDraw Editors and Viewers
Last Post: Jax
Yesterday, 7:22
» Replies: 7
» Views: 24,699
Sticker Box or Sticker Ba...
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
2025-11-21, 21:03
» Replies: 1
» Views: 128
[LDPE] 1.8.96 Released (n...
Forum: Parts Author Tools
Last Post: Cam's Bricks
2025-11-21, 16:39
» Replies: 9
» Views: 2,532
feature requests
Forum: Website Suggestions/Requests/Discussion
Last Post: Peter Blomberg
2025-11-21, 9:48
» Replies: 2
» Views: 213

 
  How to determine whether a file is a part or a subpart
Posted by: Nathan Friend - 2015-06-28, 20:49 - Forum: LDraw File Processing and Conversion - Replies (2)

Is there a way to definitively know whether a particular .ldr or .dat file is a full part as opposed to a subpart or primitive? I'm writing an online LDraw visualizer using three.js, and one feature I'd like to add is an animation of the model "blowing up" - all of the pieces coming apart and falling to the floor. In order to do this, I'll need to know which definitions are linked and which aren't (i.e., I don't want the studs coming off the bricks).

My first thought is to assume that all subfile references in the root .ldr file are their own parts. However, I'm not sure if this is a reasonable assumption to make (this would do strange things if one was viewing a part directly, like a 2x4 brick (3001.dat) ).

Being able to identify individual parts will also help with seam width calculations.

Print this item

  LPub and friends are re-maintained on github
Posted by: Milan Vančura - 2015-06-25, 14:37 - Forum: LDraw Editors and Viewers - Replies (3)

Hello everybody.

You probably know that the situation about LPub and other SW needed for LDraw instructions creation is not optimal. One needs to make several utilities to cooperate to be able to do the full work from the idea through LDraw model to final PDF with instructions: the editor, renderers, LPub... And some of those utilities are no longer maintained. The situation is little bit worse on Linux because of some Linux-specific issues (like the fact Linux filesystems are case-sensitive).

I'm glad I can announce the result of our effort to help in this area: we created a github group to collect all SW needed to create the instructions using LPub (in the end). We imported the history of original projects (CVS or SVN), we continue to merge with upstream if it is alive (like for LeoCAD) and, thanks to github, we open a chance for everybody to cooperate: build, test, improve, send patches back. You do not need any special permission like in CVS/sourceforge times! Let's join us!

https://github.com/ldraw-linux

As you can see it is named ldraw-linux. This may confuse somebody so I clearly say at the beginning: the project started to make those utilities working on Linux, hence the name. But all our patches are Windows-compatible and the only limitation is that we do not have any machine and knowledge to test Windows builds now. Such a help is really appreciated - send me a PM or say here in this thread!

In short: our goal is: join our forces together and make this not only working but even improved!

At the end, I want to thank SUSE company for the hackweek: this allows us to work on any opensource project at work, during that week. And you can see there are really many projects people work on Smile

Print this item

  Pirates and belt buckles
Posted by: Magnus Forsberg - 2015-06-24, 21:44 - Forum: Parts Authoring - Replies (2)

I've started reworking the parts listed in this thread. They all use the old method of creating blended/dithered colour. Colours that are not present in ldconfig.ldr.

In that list are most of the old pirates. I have asked about them before

973p30.dat Minifig Torso with Pirate Purple Vest and Anchor Tattoo Pattern
973p31.dat Minifig Torso with Pirate Stripes Pattern (Red/Cream)
973p32.dat Minifig Torso with Pirate Stripes Pattern (Blue/Cream)
973p33.dat Minifig Torso with Pirate Stripes Pattern (Red/Black)
973p34.dat Minifig Torso with Open Jacket over Striped Vest Pattern
973p36.dat Minifig Torso with Pirate Captain Pattern
973p3b.dat Minifig Torso with Brown Vest, Ascot and Belt Pattern
973p3e.dat Minifig Torso with Pirate Stripes Pattern (Blue/White) discussed here

Is this all? Or, how many is missing?
How about the one with a black belt buckle?

The belt buckle should be changed to the obvious Metallic Gold (82), but how about the belt?
Many use the dithered code 486, but not all.
Do they all have the same shade of brown colour, but printed on different brick colour, hence looking different?

What is the best brown to use?
I used a rgb colour in 973p34.dat, A5832F created by ColourSum.
I now want to give them all the same colour and use the nearest one, as suggested by ColourSum, Fabuland Brown (450).

The striped pirates should use, as the description says, "cream". They use code 495, which in Electric Contact Copper. Must be changed.
We don't have anything close to "cream". The closest I can find is Light Flesh (78). Would that be OK?

   

Is code 450 (Fabuland Brown) OK as colour on the leather belts?
Is code 78 (Light Flesh) OK as colour on the 'cream' stripes?

Print this item

  Dimensioning in XYZ space
Posted by: Jarema - 2015-06-23, 18:45 - Forum: LDraw File Processing and Conversion - Replies (8)

How Can I Detect Width And Height of model based on this what in *.ldr file is.
I Have Measure in: pixels , inch , centimeters.

Print this item

  Subfile References and Scaling
Posted by: Nathan Friend - 2015-06-22, 23:48 - Forum: LDraw File Processing and Conversion - Replies (3)

I'm writing an online LDraw viewer using three.js and am getting some strange results when I try and render subfile references.

Here's what I have currently - this should be a basic 2 x 4 brick: http://nathanfriend.io/ldraw-visualizer (Note that I'm randomizing the color of all surfaces so I can clearly see how each is being rendered.)

As you can see, all subfile references are being translated too much, especially along the X and Z axes.

Here's a pseudo-code representation of how I'm calculating the positions of subfile parts:

Code:
subfileGeometry.applyMatrix(matrixFromSubfileReference * matrixThatRepresentsAllParentTransforms);

You can see the relevant portion of this calculation here.

Any ideas as to what I'm doing wrong?

My current theory is that some part in the subfile chain is being scaled (for example, '4-4edge.dat' is non-uniformly scaled by a factor of 6 inside of 'stud4.dat'), and the assumption is that this scaling should not be applied to its own subfile references. This scaling would then causes exaggerations in the position of all descendent subfiles. If this is correct, I'm not sure how to go about counteracting the scaling.

Any hints would be much appreciated.

Print this item

  SnapCAD is available!
Posted by: Philippe Hurbain - 2015-06-19, 14:05 - Forum: LDraw Editors and Viewers - Replies (10)

SnapCAD was released officially yesterday by VEX. This is a "new" LDraw editor that targets robot building using VEX IQ parts. It is an adapted version of MLCad, and uses the parts that I modeled from VEX 3D models.

See SnapCAD page here.

As a side note, SnapCAD can be used for regular LDraw stuff (your just have to change default library and categories). And it does correct a few MLCad known bugs, such as the greyed-out vector rotation (you must uncheck "absolute position" to make it available).

Print this item

  Alternatives to POV-Ray?
Posted by: Michael Horvath - 2015-06-18, 21:09 - Forum: LDraw File Processing and Conversion - Replies (1)

Has anyone created a conversion tool that works with other renderers/raytracers than POV-Ray? (Except Blender which I do not have time to learn.) Thanks.

Print this item

  lego ldraw drawing needed
Posted by: Timmy - 2015-06-17, 22:58 - Forum: General LDraw.org Discussion - No Replies

i need a ldraw made for me of a lego ship landing pad (for this ship i made)
http://s17.photobucket.com/user/goaliebo...S%20AFRICA
need it to be a ground level landing pad (in grey and yellow) with 2 light towers on one side (just one side). would need the pad to be 44 studs long by 20 studs wide. would need the pad to have along the edges (in grey) this:
http://www.ebay.ie/itm/Missing-Lego-Bric...5649384b53
in the inside of the pad, would need grey and yellow flat tiles.
been building lego for years and now am getting into ldraw. i will buy the bricks i need at brickfair and online. would like to know before i buy them what the pad will look like (and maybe now how many pieces i need)
timmy
ps it is possible for someone to make some instructions of my ship to
http://s17.photobucket.com/user/goaliebo...S%20AFRICA
again need to know how many piece i need to buy before i build it.

Print this item

  Attribution to LDraw.org in slides for public presentation
Posted by: Mario Pascucci - 2015-06-17, 10:31 - Forum: General LDraw.org Discussion - Replies (1)

Hi all.

I read this, this, this and this topic, but I didn't find a specific policy, and I don't want to make assumptions or to do analogies.

Briefly: in August I'll do a presentation of my software jBrickBuilder during AFOL event "Lecco 2015" in Italy. I wonder what is the right formula to say "this program is based on Ldraw Part Library". My thinking was:
- place this formula in first slide
- in second-last slide, where usually goes thanks and references to other materials/websites, thanks to LDraw people and a link to LDraw website with LDraw.org logo used for linking (as stated here)
- in last slide, a warning that jBrickBuilder is not endorsed or sponsored by LDraw.org or LEGO® company.

Is that right/meets LDraw policies?

My apologies in advance if question was already discussed, in that case can someone point me to topic/documents?

Mario

Print this item

  Animate building a model
Posted by: Jaco van der Molen - 2015-06-17, 7:50 - Forum: Rendering Techniques - Replies (4)

Hi all,

What would be the right tool (if there is one) to animate the actual building of a model?
I am looking for something of a mix between LDD where you see a new brick flying in to snap to the right position and the movies by ArtiFex Creation (https://www.youtube.com/user/artifexcreation/videos)
Would this be possible with some LDraw tools?

I'm thinking simple rendering an image of each step and then animate each frame using some moviemaker program.
But then, each image of each step has to be the same width and height and the model (base) should be in a fixed position. How do I do that?

Thanks again all.

Jaco

Print this item