trevor Posted December 12, 2016 Share Posted December 12, 2016 We have plug-in commands to tell us the XYZ location and size of objects, however we are missing a command to tell us the XYZ offset relationship between the location origin to the size data. I was going to write some code to auto set the height of things to the profile map (especially all my trees.....), but without knowing where each objects origin is, I can't do that. I am sure there are other uses too. regards T Link to comment Share on other sites More sharing options...
trevor Posted December 12, 2016 Author Share Posted December 12, 2016 (edited) While on that topic... a command to pull the contour maps would be helpful too Edited December 12, 2016 by trevor Link to comment Share on other sites More sharing options...
EASY Posted December 12, 2016 Share Posted December 12, 2016 Hi trevor, Zitat vor 38 Minuten schrieb trevor: a command to pull the contour maps would be helpful too ... there is a undocumented command 132 It is like an echolot and returns the coordinates (surface) and the name of the hit object... (... if you got problems with translation... feel free to ask...) ... i used it to place objects on the contour of "Bodenplatte" in my plugin "Landschaftsgestaltung" EASY : Link to comment Share on other sites More sharing options...
trevor Posted December 12, 2016 Author Share Posted December 12, 2016 5 minutes ago, EASY said: Hi trevor, ... there is a undocumented command 132 It is like an echolot and returns the coordinates (surface) and the name of the hit object... (... if you got problems with translation... feel free to ask...) ... i used it to place objects on the contour of "Bodenplatte" in my plugin "Landschaftsgestaltung" EASY : Hmm interesting.... I'd still need the offset thing though to know where I am starting from.... Though looking at it again... maybe I could do it in two steps... Shoot a beam down to find the surface, then shoot one back up from that point to find the bottom of the initial object? Good to know though.... I had an idea for a free fly helicopter plug-in but could not figure out how to avoid going below deck... this command would facilitate that Link to comment Share on other sites More sharing options...
trevor Posted December 12, 2016 Author Share Posted December 12, 2016 (edited) Also.. any idea how that responds if Z is already less than the contour level? I'm guessing you need to ask for both -1 and +1 if the first one fails... Edited December 12, 2016 by trevor Link to comment Share on other sites More sharing options...
EASY Posted December 13, 2016 Share Posted December 13, 2016 Hi trevor, Zitat vor 11 Stunden schrieb trevor: Also.. any idea how that responds if Z is already less than the contour level? I'm guessing you need to ask for both -1 and +1 if the first one fails... Note: if "Bodenplatte" got a thikness and you send the "ping" within this thikness z=-1 and z=+1 both will get a result... ... i take the z position of "Bodenplatte" + size (in z) of "Bodenplatte" = the highest point + an offset (i.e. 500 -> more then highest objekt)... ... so i can always send z=-1... EASY Link to comment Share on other sites More sharing options...
trevor Posted December 13, 2016 Author Share Posted December 13, 2016 2 hours ago, EASY said: Hi trevor, Note: if "Bodenplatte" got a thikness and you send the "ping" within this thikness z=-1 and z=+1 both will get a result... ... i take the z position of "Bodenplatte" + size (in z) of "Bodenplatte" = the highest point + an offset (i.e. 500 -> more then highest objekt)... ... so i can always send z=-1... EASY ah cool.... I hope u modified that plug in since NEO made the "Bodenplatte" name editable Link to comment Share on other sites More sharing options...
EASY Posted December 13, 2016 Share Posted December 13, 2016 Hi trevor, Zitat vor 4 Stunden schrieb trevor: I hope u modified that plug in since NEO made the "Bodenplatte" name editable ...... i think the name "Bodenplatte" could always be edited ... ... i'm looking for typ "Bodenplatte" ... if there is more then one... (...and will be renamed to make name unique..) Gruß EASY Link to comment Share on other sites More sharing options...
trevor Posted December 13, 2016 Author Share Posted December 13, 2016 2 hours ago, EASY said: i think the name "Bodenplatte" could always be edited ... Neo changed that in the last Beta release.. Link to comment Share on other sites More sharing options...
EASY Posted December 13, 2016 Share Posted December 13, 2016 Hi trevor, ... to avoid misunderstanding... since version 3.1.2.0 name of the default layer can be edited... (main menu -> View -> Layers) EASY Link to comment Share on other sites More sharing options...
trevor Posted December 14, 2016 Author Share Posted December 14, 2016 17 hours ago, EASY said: to avoid misunderstanding... since version 3.1.2.0 name of the default layer can be edited... (main menu -> View -> Layers) Um.. sorry, no. You can change the panel name now too. Link to comment Share on other sites More sharing options...
trevor Posted December 14, 2016 Author Share Posted December 14, 2016 Mind you, it's kind of mute, it's probably best to give the user a list of which panels are available to align to anyway... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now