Community
PowerMill Forum
Welcome to Autodesk’s PowerMill Forums. Share your knowledge, ask questions, and explore popular PowerMill topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command to divide steep shallow toolpath

7 REPLIES 7
Reply
Message 1 of 8
iamcdn79
244 Views, 7 Replies

Command to divide steep shallow toolpath

Does anyone know if there is a command that divides the steep and shallow portion of the toolpath?

 

I tried making a steep and shallow boundary but it doesn't fall exactly around the toolpath.

 

I need to extract both sections of the toolpath and change the order to start from the end.

 

I can use the Reorder option but that changes the constant-Z portion to start from the bottom and go upwards which I don't want


Intel Core i9 13900KF CPU
128 GB Kingston Beast DDR4 SDRAM
PNY RTX A2000 6GB Video Card
WD 1 TB SSD Hard Drive
Windows 11 Pro

7 REPLIES 7
Message 2 of 8
jianhua.fan
in reply to: iamcdn79

Try one of these commands, and hopefully it works. 

edit toolpath <name> extract any_shallow <angle>                                 // at least one segment point is shallow
edit toolpath <name> extract entirely shallow <angle>                           //  all segment points are shallow
edit toolpath <name> extract any_steep <angle>                                       // at least one segment point is steep
edit toolpath <name> extract entirely_steep <angle>                                // all segment points are steep


Jianhua Fan
Message 3 of 8
iamcdn79
in reply to: jianhua.fan

Thanks @jianhua.fan, that is exactly something I am looking for, unfortunately it doesn't work as expected.

 

It only extracts part of the shallow or steep areas I need when I use the same steep/shallow threshold value used in the toolpath

 

iamcdn79_0-1733749366366.png

 

iamcdn79_0-1733749733879.png

 


Intel Core i9 13900KF CPU
128 GB Kingston Beast DDR4 SDRAM
PNY RTX A2000 6GB Video Card
WD 1 TB SSD Hard Drive
Windows 11 Pro

Message 4 of 8
jianhua.fan
in reply to: iamcdn79

Try to slightly increase/decrease the angle (1~5 degree), and see whether you can get more segments you want.


Jianhua Fan
Message 5 of 8
iamcdn79
in reply to: jianhua.fan

It gets a little better doing that but after +/- 2 degs then it starts to remove slices that I need to keep


Intel Core i9 13900KF CPU
128 GB Kingston Beast DDR4 SDRAM
PNY RTX A2000 6GB Video Card
WD 1 TB SSD Hard Drive
Windows 11 Pro

Message 6 of 8
jianhua.fan
in reply to: iamcdn79

It is hard to get the expected segments because of noise in the angle. We may need to add a command to extract a segment with most points lying in/out a range. 


Jianhua Fan
Message 7 of 8
iamcdn79
in reply to: jianhua.fan

what if i convert the toolpath to a pattern? would their be a similar command like

 

edit toolpath <name> extract any_shallow <angle>                          
edit toolpath <name> extract entirely shallow <angle>               
edit toolpath <name> extract any_steep <angle>                            
edit toolpath <name> extract entirely_steep <angle>  

 

but for patterns that might give better results?


Intel Core i9 13900KF CPU
128 GB Kingston Beast DDR4 SDRAM
PNY RTX A2000 6GB Video Card
WD 1 TB SSD Hard Drive
Windows 11 Pro

Message 8 of 8
jianhua.fan
in reply to: iamcdn79

I think we haven't a similar command for a pattern (because we need the angle from contact normal. The toolpath has but the pattern has not). 


Jianhua Fan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report