Site Logo
Site Logo
 
It is currently Sun Apr 02, 2017 6:44 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: QUESTION: Is it possible to get what plane is active ?
PostPosted: Fri Dec 04, 2015 8:33 am 
Offline
DELCAM User
DELCAM User

Joined: Thu Feb 28, 2013 2:50 am
Posts: 35
HELLO

I want to get information whether active workplane is x-y plane, y-z plane, or z-x plane to use macro.
for example

-1-
vector axis = [0;0;0] //
let axis = active.plane // active.plane means a function for checking active plane
print $axis
[1.00000, 0,000000, 0.000000] //when y-z plane is active

-2-
int axis_x = 0
int axis_y = 0
int axis_z = 0

let axis_x = active.plane.x
let axis_y = active.plane.y
let axis_z = active.plane.z

print $axis_x
1
print $axis_y
0
print $axis_z
0

Is there such a fucntion in powerhape?

Thanks for reading


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB