| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 224 online users. » 0 Member(s) | 219 Guest(s) Applebot, Baidu, Bing, Google, Yandex
|
| Latest Threads |
Pokemon
Forum: Official Models
Last Post: Florent Faramond
Yesterday, 19:50
» Replies: 18
» Views: 2,789
|
Wheels needed for Set 772...
Forum: Part Requests
Last Post: Philippe Hurbain
Yesterday, 17:17
» Replies: 9
» Views: 1,009
|
Ideas 2026
Forum: Official Models
Last Post: Philippe Hurbain
Yesterday, 10:01
» Replies: 1
» Views: 280
|
Teenage Mutant Ninja Turt...
Forum: Official Models
Last Post: Chris Böhnke
Yesterday, 3:06
» Replies: 2
» Views: 997
|
Some Parts id like for MO...
Forum: Part Requests
Last Post: Chris Böhnke
Yesterday, 0:26
» Replies: 3
» Views: 540
|
5687pb01 Dragonborn Palad...
Forum: Part Requests
Last Post: Hylian Waffle
2026-04-14, 1:27
» Replies: 4
» Views: 520
|
Request for new primitive...
Forum: Parts Authoring
Last Post: Mark Kennedy
2026-04-13, 20:10
» Replies: 24
» Views: 2,770
|
Black Widow “SDCC”
Forum: Part Requests
Last Post: Massimo Maso
2026-04-13, 17:30
» Replies: 1
» Views: 267
|
Chere can I find LDD part...
Forum: Part Requests
Last Post: Rene Rechthaler
2026-04-13, 15:40
» Replies: 1
» Views: 203
|
Parts from 7418
Forum: Parts Authoring
Last Post: Jeff Jones
2026-04-13, 10:58
» Replies: 6
» Views: 7,274
|
|
|
| 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
|
|
|
|