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: 

Split hole feature sets in two?

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
johnc4668
673 Views, 5 Replies

Split hole feature sets in two?

When creating a hole in hole feature sets, is it possible to split a hole in half so when the second setup happens the holes will meet with through hole selected? Basically i want to chop the hole in half to machine it from both sides. Right now im just dividing the hole depth in half and using a user defined depth under drilling toolpath

 

see pic

5 REPLIES 5
Message 2 of 6
DanielMolloy
in reply to: johnc4668

Hi @johnc4668 

 

I have had to do this in the past, its a bit of a workaround but how I did it was to create two hole feature sets that are both for the same hole. called one top and one bottom, from there I could right click on each one, select edit holes and then change the depth of the top one to half the depth of the hole, then do the same with bottom one and also change the hole axis as well so that it machines from the other side.

 

Might be a pain in the neck if you have a lot to do but that's how i got over this problem.

 

If you need I can put you together some screenshot of how to do this.

Message 3 of 6

Why not use a user defined depth in the toolpath, then copy the featureset, reverse direction and do the same from the other side.

Jonathan Artiss
Senior Applications Engineer | DSI

Autodesk Expert Elite member
DSI, Design and Software International Autodesk Gold Partner

Message 4 of 6
Anonymous
in reply to: johnc4668

Create a hole cap and shift it down half way, when you run your feature macros it should split it in two,

Message 5 of 6
Anonymous
in reply to: johnc4668

Test it (require active featureset)

FUNCTION MAIN {
  IF NOT entity_exists('featureset','') {
    RETURN
  }
  STRING Holes0=entity('featureset','').Name
  STRING HolesTop=$Holes0+'_Top'
  STRING HolesBottom=$Holes0+'_Bottom'
  IF entity_exists('featureset',$HolesTop) {
    $HolesTop=new_entity_name('featureset',$HolesTop)
  }
  IF entity_exists('featureset',$HolesBottom) {
    $HolesBottom=new_entity_name('featureset',$HolesBottom)
  }
  COPY FEATURESET ;
  RENAME FEATURESET # $HolesBottom
  COPY FEATURESET ;
  RENAME FEATURESET # $HolesTop
  EDIT FEATURESET $HolesBottom HOLES REVERSE
  CALL HalfDepth($HolesTop)
  CALL HalfDepth($HolesBottom)
  ACTIVATE Featureset $Holes0
}
FUNCTION HalfDepth(STRING H1) {
  ACTIVATE Featureset $H1
  EDIT FEATURESET $h1 HOLES EXPLODE
  ENTITY fs=entity('featureset',$H1)
  FOREACH h IN components($fs) {
    EDIT FEATURESET ; select $h.Name
    REAL Depth=($h.Top-$H.Bottom)/2
    EDIT FEATURESET $H1 FEATURE SELECTED COMPONENT SELECTED DEPTH $Depth
  }
}

 

Message 6 of 6
DanielMolloy
in reply to: Anonymous

Hi @Anonymous,

 

This is cool, i needed this a few months ago!

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

Post to forums  

Autodesk Design & Make Report