Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,469
» Latest member: Ground
» Forum threads: 5,680
» Forum posts: 48,566
Full Statistics
|
Online Users |
There are currently 230 online users. » 1 Member(s) | 223 Guest(s) Applebot, Bing, DuckDuckGo, Google, Internet Archive, Yandex
|
Latest Threads |
Flag 2 x 2 with Blue and ...
Forum: Parts Authoring
Last Post: Eugen
1 hour ago
» Replies: 10
» Views: 132
|
LeoCad M1 Support
Forum: General LDraw.org Discussion
Last Post: Eugen
Today, 2:04
» Replies: 2
» Views: 1,808
|
LDView 4.5 Released
Forum: LDraw Editors and Viewers
Last Post: Orion Pobursky
Today, 0:57
» Replies: 32
» Views: 8,431
|
Technic 2024
Forum: Official Models
Last Post: MING YING CAI
Today, 0:51
» Replies: 26
» Views: 16,393
|
Looking for a simple (fre...
Forum: Off-Topic
Last Post: Eugen
Yesterday, 6:04
» Replies: 5
» Views: 11,741
|
FreeStyle 1995-1998
Forum: Official Models
Last Post: Eugen
Yesterday, 4:51
» Replies: 5
» Views: 250
|
Datsville
Forum: MOCs (My Own Creations)
Last Post: Eugen
Yesterday, 2:35
» Replies: 54
» Views: 94,058
|
Milky Way Magic Chest 199...
Forum: Official Models
Last Post: Eugen
2024-10-05, 23:52
» Replies: 2
» Views: 185
|
New moulds with hollow st...
Forum: Parts Authoring
Last Post: Rene Rechthaler
2024-10-05, 13:14
» Replies: 10
» Views: 6,867
|
Plug34.dat and related pa...
Forum: Parts Authoring
Last Post: Magnus Forsberg
2024-10-05, 7:34
» Replies: 23
» Views: 6,340
|
|
|
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
|
|
|
|