| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 7 online users. » 1 Member(s) | 1 Guest(s) Applebot, Baidu, Bing, Google, Yandex, Orion Pobursky
|
| Latest Threads |
New Click hinges
Forum: Part Requests
Last Post: Magnus Forsberg
Yesterday, 21:30
» Replies: 17
» Views: 21,574
|
Town, Trains and Paradisa...
Forum: Official Models
Last Post: Takeshi Takahashi
Yesterday, 16:15
» Replies: 13
» Views: 9,718
|
Parts Request: Exploriens...
Forum: Part Requests
Last Post: Carmichael
Yesterday, 9:54
» Replies: 0
» Views: 83
|
Preview Video of My New D...
Forum: All Other Programs.
Last Post: Demetree Kallergis
2026-08-25, 20:33
» Replies: 0
» Views: 89
|
New parts from Lego Instr...
Forum: Parts Authoring
Last Post: Orion Pobursky
2026-08-24, 13:29
» Replies: 102
» Views: 135,310
|
We have a problem, again
Forum: Parts Authoring
Last Post: Willy Tschager
2026-08-24, 7:33
» Replies: 6
» Views: 8,430
|
Blaster w/ Clip (Part 154...
Forum: Part Requests
Last Post: tom alphin
2026-08-22, 18:56
» Replies: 1
» Views: 197
|
Seal (Part 3380 / 3380pr0...
Forum: Part Requests
Last Post: tom alphin
2026-08-22, 18:55
» Replies: 0
» Views: 146
|
Missing Roboforce 1997 Mi...
Forum: Part Requests
Last Post: Zack Uhlenhuth
2026-08-22, 10:20
» Replies: 3
» Views: 801
|
part for Set 8880-B
Forum: Part Requests
Last Post: Alfred Schmitz
2026-08-22, 7:04
» Replies: 6
» Views: 517
|
|
|
| Sticker dimension errors |
|
Posted by: Chris Dee - 2011-12-09, 20:59 - Forum: Parts Authoring
- Replies (9)
|
 |
In the final stages of putting together the 2011-01 Parts Update, I mistakenly transposed the dimensions of some of the sticker parts, using "Sticker X-dimension x Z-dimension ...", instead of putting the Z-dimension first.
I'd like to correct these, but does anyone feel they need to be cycled through the Parts Tracker to do this?
|
|
|
| Underside stud group scaling |
|
Posted by: Travis Cobbs - 2011-12-09, 0:13 - Forum: Standards Board
- Replies (1)
|
 |
As Tore just pointed out, if stud groups are ever created for underside studs, then they should probably be allowed to be scaled in the Y axis so that the same stud groups can be used for both plates and bricks. I suggest that we add the text that just passed (4 YES votes as of now), then come up with a modification of the wording to allow for scaling in the Y axis for stud groups used on the underside of bricks/plates/tiles.
|
|
|
| Applescript to "center" in Bricksmith |
|
Posted by: Ramón Figueroa-Centeno - 2011-12-08, 23:59 - Forum: LDraw Editors and Viewers
- Replies (2)
|
 |
Aloha,
Below is an Applescript to "center" parts in Bricksmith. It computes the averages, denoted x, y, and z, of the coordinates of the selected parts and then shifts -x, -y and -z (and snaps to grid).
It requires UI Scripting to be on (and does not check if it is).
Enjoy!
Ramón
Code: property wait : 2 -- seconds to wait for Bricksmith to react
set the clipboard to "0"
activate application "Bricksmith"
tell application "System Events"
tell process "Bricksmith"
-- Copy
keystroke "c" using {command down}
end tell
end tell
-- Wait for the clipboard to update "wait" seconds
repeat wait * 10 times
if (the clipboard) is "0" then
delay 0.1
else
exit repeat
end if
end repeat
if (the clipboard) is not "0" then
set parts to the clipboard as text
try
set oldDelims to AppleScript's text item delimiters -- save their current state
set AppleScript's text item delimiters to {" "} -- declare new delimiters
set n to 0
set x to 0
set y to 0
set z to 0
repeat with part in paragraphs of parts
try
if text item 1 of part is "1" then
set n to n + 1
set x to x + (text item 3 of part) as real
set y to y + (text item 4 of part) as real
set z to z + (text item 5 of part) as real
end if
end try
end repeat
if n > 0 then
-- Compute averages
set x to round (x / n)
set y to round (y / n)
set z to round (z / n)
activate application "Bricksmith"
tell application "System Events"
tell process "Bricksmith"
-- Open the "Move" window
click menu item "Move…" of menu 1 of menu bar item "Edit" of menu bar 1
-- Wait for the move window to open "wait" seconds
set flag to false
repeat wait * 10 times
try
get focused of window "Move"
set flag to true
exit repeat
end try
delay 0.1
end repeat
if not flag then
return
end if
-- Type the new x coordinate
if (value of text field 3 of window "Move") is not (-x as string) then
set focused of text field 3 of window "Move" to true
repeat with c in characters of (-x as string)
keystroke c
end repeat
end if
-- Type the new y coordinate
if (value of text field 2 of window "Move") is not (-y as string) then
set focused of text field 2 of window "Move" to true
repeat with c in characters of (-y as string)
keystroke c
end repeat
end if
-- Type the new z coordinate
if (value of text field 1 of window "Move") is not (-z as string) then
set focused of text field 1 of window "Move" to true
repeat with c in characters of (-z as string)
keystroke c
end repeat
end if
-- Move
click button "Move" of window "Move"
-- Close the move window
keystroke "w" using {command down}
-- Snap to grid
keystroke "g" using {command down}
end tell
end tell
end if
set AppleScript's text item delimiters to oldDelims -- restore them
on error
beep
set AppleScript's text item delimiters to oldDelims -- restore them in case something went wrong
end try
else
beep
end if
|
|
|
| Call for votes: Stud Groups |
|
Posted by: Willy Tschager - 2011-12-08, 21:50 - Forum: Standards Board
- Replies (7)
|
 |
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.
Update the LDraw.org File Format Restrictions for the Official Library and Primitives Reference documents in the following way:
Quote:Stud groups
Stud groups are provided to reduce the size of part files with many regularly spaced studs. The naming convention is as following:
stugN-XxZ.dat
where:
N = type of stud (regular stud, hollow stud, underside stud, …)
X = number of studs on the x axis
Z = number of studs on the z axis
To prevent an overload of the library with all sort of combinations, the numbers on the x and z axis are limited to:
1xZ stugs
Xx1 stugs (Due to stud orientation you cannot rotate a 1xZ stud group by 90 degrees to get a Xx1 stud group)
XxZ stugs where X==Z
These primitives must not be scaled.
|
|
|
| Top 30 LDraw parts authors |
|
Posted by: Steffen - 2011-12-08, 1:36 - Forum: Website Suggestions/Requests/Discussion
- Replies (38)
|
 |
In lugnet.cad, Philippe Hurbain wrote:
> I'm said to be a prolific parts author, so I wanted to verify the truth
> behind... A few find in files, some Excel work and a bit of manual cleaning
> gives the result below. This was done on the full collection of official LDraw
> parts + unofficial ones up to march 2011.
>
> Have fun!
>
> Philo
source:
http://www.lugnet.com/cad/?n=17710
PS
I took this from Google's cached version of the site, as lugnet currently seems to be down
|
|
|
| Online Users |
|
Posted by: Steffen - 2011-12-08, 0:18 - Forum: Website Suggestions/Requests/Discussion
- Replies (1)
|
 |
The forums homepage shows at its bottom the users currently online.
How's that list being generated?
I wonder why while I am writing this, there are 4 people listed different than me,
and some guests, but not me.
|
|
|
| parts authors |
|
Posted by: Steffen - 2011-12-08, 0:08 - Forum: Website Suggestions/Requests/Discussion
- Replies (35)
|
 |
I just noticed that in the forums some roles are displayed for some users, for example:
Orion Pobursky
Website Administrator
LDraw.org Steering Committee Member
James Jessiman Memorial Award Recipient
That's nice, as it gives the readers and posters more context information of the poster.
However, I am missing that all part authors do not get such an attribute:
There should be an attribute "Part Author".
While adding this, I'd like to request a little cleanup. The attributes are not coherent currently:
some have a leading "LDraw.org", some don't. So for example one attribute reads
"Website Administrator", and not "Ldraw.org Website Administrator",
and the other reads
"LDraw.org Steering Committee Member" and not "Steering Committee Member".
As everything which happens on this site automatically and impliticly is ldraw.org stuff,
it is not necessary to precede each Attribute with "Ldraw.org ...".
So I suggest removing that prefix from all attributes.
|
|
|
|