| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 455 online users. » 1 Member(s) | 449 Guest(s) Baidu, Bing, Google, Internet Archive, Yandex, Hageta
|
| Latest Threads |
Parts Request- Marvel 202...
Forum: Part Requests
Last Post: Gerald Lasser
20 minutes ago
» Replies: 9
» Views: 1,778
|
2026/2027 LDraw.org Steer...
Forum: LDraw.org Announcements
Last Post: Max Martin Richter
Yesterday, 19:09
» Replies: 49
» Views: 4,672
|
About size of flattened s...
Forum: Official File Specifications/Standards
Last Post: Orion Pobursky
Yesterday, 16:56
» Replies: 26
» Views: 3,108
|
Part Request: Part 49523...
Forum: Part Requests
Last Post: Paul Haan
Yesterday, 16:45
» Replies: 3
» Views: 151
|
Metalic gold primatives v...
Forum: Parts Authoring
Last Post: Peter Grass
Yesterday, 7:42
» Replies: 6
» Views: 371
|
Discussion - proposal to ...
Forum: Official File Specifications/Standards
Last Post: N. W. Perry
Yesterday, 5:23
» Replies: 44
» Views: 3,805
|
2026/2027 LDraw.org Steer...
Forum: LDraw.org Announcements
Last Post: Willy Tschager
2026-02-14, 19:33
» Replies: 0
» Views: 87
|
Parts 4245 + 4264 for set...
Forum: Part Requests
Last Post: Alfred Schmitz
2026-02-14, 15:53
» Replies: 2
» Views: 206
|
Looking for some Ninjago ...
Forum: Part Requests
Last Post: Gerald Lasser
2026-02-13, 23:13
» Replies: 6
» Views: 323
|
4.5L technic axle and new...
Forum: Part Requests
Last Post: SNIPE
2026-02-12, 22:45
» Replies: 2
» Views: 189
|
|
|
| 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
|
|
|
|