General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

how to do booliean operation in space claim

TAGGED: ,

    • Shyam Prasad V Atri
      Subscriber

      Hello

      I have a body like this and i am having really hard time splitting the body

      My objective is to subtract the cylinder from the cuboid 

      I am trying to use split body and it is not allowing me to perform the operation

      What is the correct sequence to follow?

      1select cube

      2 select the two faces of cylinder (when i click control to pick second face the curser moves up)

      3 select the body to keep(many times the control does not go here) please tell me why?

    • Shyam Prasad V Atri
      Subscriber

      Is there any way to do the selection with the script..i am fed up of using this stupid space claim GUI. Its totally worthless and horrible to use..

    • Erik Kostson
      Ansys Employee

      Hi

      If you want to create a part (cube say) arround the blue/grey part you show then use enclosure:

      https://www.youtube.com/watch?v=2VFUHSc3_sg

      All the best

      Erik

    • Shyam Prasad V Atri
      Subscriber

      Hey i don't think you understood the question i have two questions (that youtube video is not helpful)

      question 1: is there a way to create a box and a curve with a defined set of points and do the subtract operation with script?

      question 2: When i created the box and selected the box and the curve why does it not split? This is the sequence i follow as per the one mentioned above

    • Shyam Prasad V Atri
      Subscriber

      look i figured a way to some how make it work on the GUI. Now i want to transilate it into a script of python and i am able to do so one or two bodies i am not able to repeat that

      # Python Script, API Version = V20
       
      # Intersect Bodies
      targets = Body1
      tools = Body2
      options = MakeSolidsOptions()
      result = Combine.Intersect(targets, tools, options, Info1)
      # EndBlock
       
      # Intersect Bodies
      targets = Body1
      tools = Body3
      options = MakeSolidsOptions()
      result = Combine.Intersect(targets, tools, options, Info2)
      # EndBlock
       
      when i do tools=Body5 and do the process it does not work..when i look at the tree
      There is nothing called as body5 everything has a name called as component.. please tell me how to proceed is there a way i can list out all the bodies? 

       

    • Shyam Prasad V Atri
      Subscriber

       

      a

    • Shyam Prasad V Atri
      Subscriber

      b

Viewing 6 reply threads
  • The topic ‘how to do booliean operation in space claim’ is closed to new replies.