Site Logo
Site Logo
 
It is currently Sun Apr 02, 2017 10:21 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Feedrates in powermill
PostPosted: Fri May 08, 2015 3:24 pm 
Offline
New User
New User

Joined: Fri Jan 28, 2011 8:27 pm
Posts: 6
hello,

i cannot find how to change the feedrates and rpm of a toolpath in the new core software. in the old version i would have to do the following:

toolspeed = pm.ParseParameterInfoForSetting(Params, ":dmkMcParFeedRate", "CUTTING", pm.enumEntitySettingDataType.parString)

toolrpm = pm.ParseParameterInfoForSetting(Params, ":dmkMcParFeedRate", "SPINDLE", pm.enumEntitySettingDataType.parString)

thanks

john


Top
 Profile  
 
 Post subject: Re: Feedrates in powermill
PostPosted: Fri May 08, 2015 3:48 pm 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
Hi John

PowerMILL automation is so far only really geared up for automating macros and templates. It is not yet as advanced as PowerSHAPE automation.

You can get access to the toolpaths by name but you do not have access to any properties for getting and setting feedrates etc.

We hope to have this functionality in a release soon.


Top
 Profile  
 
 Post subject: Re: Feedrates in powermill
PostPosted: Thu Jun 02, 2016 4:47 pm 
Offline
New User
New User

Joined: Thu Jun 02, 2016 4:44 pm
Posts: 1
Hi Delcam,

Is there any way of getting the toolpath feed rate using the Software Core libraries or not?

Thanks,


Top
 Profile  
 
 Post subject: Re: Feedrates in powermill
PostPosted: Wed Jun 15, 2016 1:33 pm 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
Hi

You would need to use the ExecuteEx function to read the parameter. Note that feedrate is complex type with various values within it. So you would need to use something like:
Code:
powerMILL.ExecuteEx("print par terse \"entity('toolpath', '1').feedrate.cutting.value\")


In a future version we hope to add this to the object model.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
Powered by phpBB