| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
‘Tile 8 x 16 Type 2 with ...
Forum: Part Requests
Last Post: Alfred Schmitz
10 minutes ago
» Replies: 2
» Views: 21
|
Missing Roboforce 1997 Mi...
Forum: Part Requests
Last Post: Zack Uhlenhuth
Yesterday, 5:07
» Replies: 1
» Views: 288
|
Missing Adventurers Brick...
Forum: Part Requests
Last Post: Zack Uhlenhuth
Yesterday, 5:05
» Replies: 0
» Views: 85
|
Stickers from 6000 - LEGO...
Forum: General LDraw.org Discussion
Last Post: legolex76
2026-07-27, 9:51
» Replies: 15
» Views: 12,982
|
ModelScope XR - VR model ...
Forum: LDraw Editors and Viewers
Last Post: Wyatt Stone
2026-07-26, 17:19
» Replies: 2
» Views: 1,377
|
Missing Ninja 1998 Minifi...
Forum: Part Requests
Last Post: Zack Uhlenhuth
2026-07-25, 17:53
» Replies: 6
» Views: 803
|
Missing Adventurers Minif...
Forum: Part Requests
Last Post: Zack Uhlenhuth
2026-07-25, 15:21
» Replies: 2
» Views: 333
|
1970's - LEGOland and hob...
Forum: Official Models
Last Post: Takeshi Takahashi
2026-07-25, 2:38
» Replies: 155
» Views: 276,113
|
Wrong set name
Forum: Parts Authoring
Last Post: Chris Böhnke
2026-07-24, 16:27
» Replies: 3
» Views: 397
|
14290pb02 Chima Fox Mask
Forum: Part Requests
Last Post: Chris Böhnke
2026-07-24, 9:20
» Replies: 1
» Views: 264
|
|
|
| Idea for an LDCad script |
|
Posted by: N. W. Perry - 2021-12-31, 21:13 - Forum: LDraw Editors and Viewers
- Replies (25)
|
 |
A simple idea, perhaps (and for all I know someone's already done this), but what about a "place on ground" script that would calculate the lowest point of a model and place that at Y=0?
Better still, calculate the two lowest points—such as two wheels that are not quite in the same plane—and rotate the whole model so that they both rest at Y=0?
|
|
|
| Detecting current editing plane using API? |
|
Posted by: David Manley - 2021-12-28, 2:44 - Forum: LDraw Editors and Viewers
- Replies (3)
|
 |
Hi Roland,
is there an API call which returns the current editing plane? Something which perhaps returns a value of 1, 2 or 3?
By way of an example, when ctrl+R is pressed to open the Manual Rotation dialog, it knows the current editing plane to apply the rotation to. I'm wanting to modify the part alignment scripts to work based on the current rotation plane rather than making the user identify the X, Y or Z plane to be rotated around.
If an API call isn't available, can you guide me in the direction of a possible approach to try?
Thanks and regards,
David
|
|
|
|