| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 142 online users. » 2 Member(s) | 138 Guest(s) Bing, Google, Jeremy123, Orion Pobursky
|
| Latest Threads |
Dual Moulding and Vinyl P...
Forum: Part Requests
Last Post: Peter Grass
7 hours ago
» Replies: 1
» Views: 75
|
Existing Part Edit Reques...
Forum: Parts Authoring
Last Post: Roland Melkert
7 hours ago
» Replies: 153
» Views: 372,531
|
Parts Request Hat with Ha...
Forum: Part Requests
Last Post: Magnus Forsberg
Yesterday, 19:05
» Replies: 1
» Views: 97
|
I took a better photo of ...
Forum: Parts Authoring
Last Post: Orion Pobursky
Yesterday, 1:53
» Replies: 2
» Views: 183
|
Technic 2025
Forum: Official Models
Last Post: Paweł Turalski
2025-12-03, 21:11
» Replies: 5
» Views: 11,543
|
Request: Mark part as obs...
Forum: Parts Authoring
Last Post: Magnus Forsberg
2025-12-03, 17:02
» Replies: 4
» Views: 387
|
LDConfig with Bricklink S...
Forum: LDraw File Processing and Conversion
Last Post: Hageta
2025-12-02, 10:13
» Replies: 0
» Views: 171
|
Certain parts are returni...
Forum: Parts Tracker Discussion
Last Post: Orion Pobursky
2025-12-02, 2:41
» Replies: 1
» Views: 266
|
LDraw.org 2025-11 Parts U...
Forum: LDraw.org Announcements
Last Post: Orion Pobursky
2025-12-02, 2:40
» Replies: 2
» Views: 375
|
LDraw.org 2025-10 Parts U...
Forum: LDraw.org Announcements
Last Post: Sylvain Sauvage
2025-12-01, 18:46
» Replies: 4
» Views: 1,180
|
|
|
| HELP!!!READ ME!ABOUT SUB PART |
|
Posted by: k1n9 - 2013-04-10, 15:04 - Forum: Help
- Replies (4)
|
 |
Hi guys,
I'm new to LDraw and recently I created my own parts in LDraw.
I would like to reuse the small part created in another larger part but I cannot use the small part as a sub-part, should I upload the sub-part to library or just put it in the p file(but seems like it cannot be recognized if I only put the sub-part in p file)?
Do you know what I mean? What should I do, any helps please?
|
|
|
| Regarding rendering of parts |
|
Posted by: Athanasios Gaitatzes - 2013-04-08, 13:39 - Forum: Parts Authoring
- Replies (17)
|
 |
I am trying to write a renderer and so trying to understand the document http://www.ldraw.org/article/415.html.
My first question is does a reverse matrix (determinant < 0) perform a mirroring on the part as I have seen in some places or just changes the winding as the document suggests. I wish the pseudocode at the bottom of the document also included the negative determinant part of the drawing process.
Also regarding rendering. If I open the subpart box5.dat in ldview the backfacing polygons are not rendered. But If I create a file sample.dat and in it I put the line "1 16 0 0 0 1 0 0 0 1 0 0 0 1 box5.dat" and open sample.dat in ldview then the backfacing polygons are rendered. From reading the above document I do not understand why that is the case.
Thank you for any help.
|
|
|
| Both 3626b and 3626c patterned heads? |
|
Posted by: Magnus Forsberg - 2013-04-06, 10:25 - Forum: Parts Authoring
- Replies (3)
|
 |
This year there seems to be many "old" patterns printed on the new head, 3626c, and perhaps we need to decide how to treat them.
Must there be both a 3626b and a 3626c version of every re-released pattern?
Should all b-heads be renamed to "...with Blocked Stud"?
Should all c-heads be named "...with Hollow Stud"?
I don't think that's necessary.
The "c" in the partnumber, 3626cpXX.dat, tells me that it is a new head, with hollow stud.
Howard Lande has made a number of new heads, both as b- and c-heads.
3626bpb122, 3263bpb322, 3626bpb366, 3626bpb411, 3626bpb471, 3626bpb633, 3626bpb719
3626cpb122, 3263cpb322, 3626cpb366, 3626cpb411, 3626cpb471, 3626cpb633, 3626cpb719
(btw, they all need renumbering too)
Is that really necessary?
|
|
|
| Insert Related Database |
|
Posted by: Ben Supnik - 2013-03-31, 20:35 - Forum: Parts Authoring
- Replies (26)
|
 |
Hi Y'all,
I am working on "Insert Related…" in BrickSmith. The idea is simple: select a door frame, and BrickSmith can tell you which doors fit, and put them into the correct location.*
Insert Related solves two problems:
- If you haven't memorized every single Lego Part, it can be hard to find the right matched part, e.g. the right tire for the wheel, the right door for the frame, the right glass for the window. Some of these are manageable (e.g. windows), some I still don't know after tens of thousands of parts inserted (e.g. tires). Insert related is a database that "knows" which parts fit for certain special roles.
- Some parts have relative origin offsets that aren't on the major brick grid> This typically happens when a part has its origin set for easy rotation instead of easy relative placement. So even once I find the right door for the frame, how does it 'snap' in?
I have two questions:
1. Is anyone else interested in the data for other modeling programs?
2. Does anyone have any feedback on the proposed data format? (This matters mainly if anyone else wants to use the data.)
There's nothing BrickSmith specific going on, hence the inquiry.
Here's what I have right now:
122c01.dat 3641.dat -31 6 0 0 0 1 0 1 0 -1 0 0 Left Tire
122c02.dat 3641.dat -31 6 0 0 0 1 0 1 0 -1 0 0 Left Tire
122c01.dat 4084.dat -31 6 0 0 0 1 0 1 0 -1 0 0 Left Tire
122c02.dat 4084.dat -31 6 0 0 0 1 0 1 0 -1 0 0 Left Tire
122c01.dat 3641.dat 31 6 0 0 0 -1 0 1 0 1 0 0 Right Tire
122c02.dat 3641.dat 31 6 0 0 0 -1 0 1 0 1 0 0 Right Tire
122c01.dat 4084.dat 31 6 0 0 0 -1 0 1 0 1 0 0 Right Tire
122c02.dat 4084.dat 31 6 0 0 0 -1 0 1 0 1 0 0 Right Tire
Basically the format is:
<parent file> <child file> <relative transform> <placement name>
The relative transform is the matrix that a 1 directive would have for the child if the parent is at 0,0,0, unrotated, and the parts are put together according to the relationship described to the right. The relationships names help disambiguate (for UI purposes) multiple attach points, e.g. do we want to put this tire on the left or right wheel, do we want the door to open to the left or right, is this the left or right shutter?
It is intentional that the relationship name is the same for multiple lines with different parts - the idea is that the user can say two things:
"If I want to add part 3641.dat to 122c01.dat, what are my choices?"
(The answer is that 3641.dat can act as a "Left Tire" or "Right Tire", and there are different transforms to do that.)
or the user can ask:
"If I want to add a Left Tire to 122c01.dat, what parts can do this?"
(The answer is that both 3641.dat and 4084.dat fit as tires - by luck the transform is the same for both but this won't be true some of the time.)
The data is 'flat' - that is, relationships are provided only for final parts, not for sub-parts.
To create the data, I created a very simple .mpd file with the parts assembled 'correctly' (using various steps and sub-models to structure the parts) and then ran a Python script over it to get the final flat results. This means that, to create the data, I simply modeled each part once, visually checking to see if the part was positioned correctly.
Anyway, if this is of interest to anyone else working on modeling software, please let me know - I'm happy to share the data.
Cheers
Ben
* My previous post on this:
forums.ldraw.org/showthread.php?tid=8008,8025
got side-tracked into a discussion of 'true connectivity'. This is not that at all - it's just a way to insert parts. I would like to do connectivity some-day, but connectivity is an ocean-liner of a feature, and this is a rubber raft. Or something like that.
|
|
|
|