Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 173 online users. » 0 Member(s) | 168 Guest(s) Applebot, Baidu, Bing, Google, Yandex
|
Latest Threads |
2003 Pattern
Forum: Parts Authoring
Last Post: Javier Orquera
8 hours ago
» Replies: 1
» Views: 237
|
Part Request - 51008pb01 ...
Forum: Part Requests
Last Post: Stefano
9 hours ago
» Replies: 3
» Views: 2,714
|
reviewing obsoleted parts
Forum: Parts Tracker Discussion
Last Post: Peter Blomberg
10 hours ago
» Replies: 2
» Views: 286
|
Part Request: 90190 & 902...
Forum: Part Requests
Last Post: Julian Raymond Ruan
Today, 0:49
» Replies: 1
» Views: 2,344
|
I'm going to be getting a...
Forum: Parts Authoring
Last Post: Hageta
Yesterday, 22:37
» Replies: 8
» Views: 529
|
Third voting option?
Forum: Website Suggestions/Requests/Discussion
Last Post: Peter Blomberg
Yesterday, 21:48
» Replies: 4
» Views: 1,162
|
Primref wiki
Forum: Website Suggestions/Requests/Discussion
Last Post: Magnus Forsberg
Yesterday, 15:08
» Replies: 0
» Views: 276
|
Dots 1x1 printed alphabet...
Forum: Part Requests
Last Post: Orion Pobursky
Yesterday, 6:28
» Replies: 4
» Views: 560
|
Koala animal part 2589pb0...
Forum: Part Requests
Last Post: Ollie
Yesterday, 2:02
» Replies: 0
» Views: 338
|
Stud groups
Forum: Official File Specifications/Standards
Last Post: Magnus Forsberg
2025-09-18, 20:34
» Replies: 1
» Views: 566
|
|
|
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
|
|
|
|