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: 

STEP AP242 How to use this standard in PMILL ?

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
5axes
1415 Views, 4 Replies

STEP AP242 How to use this standard in PMILL ?

Hello,

 

As the new STEP application protocol AP242 is now supported by Autodesk Manufacturing Data Exchange 2018 , I have made some tests to know what kind of benefits I can have by dealing with this new standard. On the paper it looks pretty cool, capability to transfer PMI informations( could be usefull instead of having an additionnal drawing), possibility to transfer tessellated geometry etc .. (http://www.ap242.org/)

manuf.jpg

In reallity as it is manage by the interface it's completely useless (my point of view) .

  • PMI is not identified as a special element
  • You can not have a list , search for a text or a value
  • There is no link between the anotation and the attached surface or reference
  • etc etc etc .. 

But the real problems comes when you load such file in PMILL. Some of these annotations are transfer as surfaces !  And they are on the same level as the part, thanks to the issue of the Step transfer color is not manage ... 

manuf2.jpg

 

So my question is How to clean such file before to mill it ? Did you already had to deal with such format ?

 

Hereafter a test file provided by the NIST to test the capability of your software to read these type of data.

Tags (1)
4 REPLIES 4
Message 2 of 5
5axes
in reply to: 5axes

In Powermill if you cannot select an entity by his color, level or type, you can try by his name.

 

But unfortunately I'm not sure (I'm sure Smiley Frustrated) that the name of the PMI entity will be explicit in every case. And the macro is very time consuming Smiley Sad

Message 3 of 5
kukelyk
in reply to: 5axes

Try this:

STRING LIST comps = {}
STRING first_model = FOLDER('model')[0].Name
FOREACH komp IN $entity('model', $first_model).hierarchy.children {
	INT k = add_last($comps, $komp.name)
	PRINT = komp.name
}
INT c = 0
$c = INPUT CHOICE $comps "Select the body by name"

EDIT MODEL ALL DESELECT ALL
INT k = select_components($ENTITY('model', $first_model).Hierarchy.Children[$c].Components)
EDIT MODEL $first_model SELECT INVERT ALL
CREATE PATTERN ;
EDIT PATTERN ; INSERT MODEL
DELETE MODEL $first_model SELECTED
Message 4 of 5
5axes
in reply to: kukelyk

Smart, fast ... Very nice piece of code for this macro @kukelyk Heart

 

Warning: my posts occasionally contains smiley (which may be unsuitable for adults), unusual humor (which may also be unsuitable for adults), and advanced mathematics (which may be unsuitable for liberal-arts majors).

 

 

Tags (1)
Message 5 of 5
kukelyk
in reply to: 5axes

Happy to help You, it used to be inversely..:wink:

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

Post to forums  

Autodesk Design & Make Report