trevor Geschrieben 12. Dezember 2016 Geschrieben 12. Dezember 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
trevor Geschrieben 12. Dezember 2016 Autor Geschrieben 12. Dezember 2016 (bearbeitet) While on that topic... a command to pull the contour maps would be helpful too Bearbeitet 12. Dezember 2016 von trevor
EASY Geschrieben 12. Dezember 2016 Geschrieben 12. Dezember 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 :
trevor Geschrieben 12. Dezember 2016 Autor Geschrieben 12. Dezember 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
trevor Geschrieben 12. Dezember 2016 Autor Geschrieben 12. Dezember 2016 (bearbeitet) 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... Bearbeitet 12. Dezember 2016 von trevor
EASY Geschrieben 13. Dezember 2016 Geschrieben 13. Dezember 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
trevor Geschrieben 13. Dezember 2016 Autor Geschrieben 13. Dezember 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
EASY Geschrieben 13. Dezember 2016 Geschrieben 13. Dezember 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
trevor Geschrieben 13. Dezember 2016 Autor Geschrieben 13. Dezember 2016 2 hours ago, EASY said: i think the name "Bodenplatte" could always be edited ... Neo changed that in the last Beta release..
EASY Geschrieben 13. Dezember 2016 Geschrieben 13. Dezember 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
trevor Geschrieben 14. Dezember 2016 Autor Geschrieben 14. Dezember 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.
trevor Geschrieben 14. Dezember 2016 Autor Geschrieben 14. Dezember 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...
Empfohlene Beiträge
Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren
Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können
Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen.
Neues Benutzerkonto erstellenAnmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden