Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Change operation strategy with FeatureCAM API

atomic.lex
Enthusiast
Enthusiast

Change operation strategy with FeatureCAM API

atomic.lex
Enthusiast
Enthusiast

atomiclex_0-1723040771084.png

Is anybody knows how to change operation strategy with FeatureCAM API?

0 Likes
Reply
367 Views
3 Replies
Replies (3)

serge.quiblier
Autodesk
Autodesk

Hi @atomic.lex 

 

what do you ant to change exactly?

Do you want to convert the Z level operation to something?

Do you want to change the finishing operation to a roughing one?

Or is it the strategies parameters you are after?

 

Because it won't be the same process and unctions.

 

Regards.



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes

atomic.lex
Enthusiast
Enthusiast

Hi Serge, 

in this case I have to check and adjust "continuous spiral" if not adjusted and "bottom to top" if necessary.
It would also be great to know how to identify roughing and finishing operations in order to skip them or change them into one another.

Maybe you can also give me an advice how to set the boundary curve via API for the operation.

atomiclex_0-1724914800045.png

 

Thank you for your attention,

Alex


0 Likes

serge.quiblier
Autodesk
Autodesk

Hi @atomic.lex 

 

Here is how some of these actions can be implemented.

You can have a look at the API manual inside FeatureCAM.

 

Either on the feature level, or the operation level, we can call a function called  setAttributes.

 

Some of the attributes are :
eAID_DoFinish / eAID_DoRough : a boolean value that is applied at feature level

eAID_FinishStepType / eAID_RoughStepType : an integer value 0 : Spiral vs 1 : ZigZag at operation level

eAID_FinishBottomUp : a boolean that probably represent bottom to top attribute at operation level

 

I have no idea for the boundary curve, I don't actually know how it's indicated in the operation.

There is a SetCheckSurfaces function but it's for the avoid surface.

There is a setPartSurfaces for what need to be machined.

But I can't identify what can be used to select a boundary curve.

 

Regards.

 


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!

 

 

 



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes