[An...] Posted July 7 Share Posted July 7 Hello everyone... A plane is geometrically uniquely defined by a base point or support point on this plane and by a normal vector. The normal vector of the plane can be queried in scripting (plane.normal), but apparently not the point on the plane. Is that correct? Or can the point be queried in the scripting? If so, how? Link to comment Share on other sites More sharing options...
[Ja...] Posted July 8 Share Posted July 8 Please sign in to view this username. what is you are ultimately looking to do? Im not sure you can get access to this 'point' as it seves no functional purpose. What effects the location graphically it is the position within the display properties. I am not sure your description of the plane is correct from the software coding perspective , as only the normal is the only thing that is useful.. Im not sure the software guys on here would give out this level of detail. Link to comment Share on other sites More sharing options...
[Je...] Posted July 8 Share Posted July 8 Hey Andreas, I guess you are calling the normal with such an expression: gom.app. ...['Plane'].normal Please give a try with the same line, but calling the center coordinates instead of the normal: gom.app. ...['Plane'].center_coordinate --> This is not part of the 'F2'-Script Object list, but it should work. To double check this you can build a guinea pig: Build a plane Construct a point by clicking the plane name lable run a test print (gom.app. ... ['Point'].center_coordinate) print (gom.app. ... ['Plane'].normal) print (gom.app. ... ['Plane'].center_coordinate) Plane and Point center coordinates should be the same Hope this helps! - Gruß, Jens Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in