Author Topic: How do you subtract an array from a solid object  (Read 1469 times)

0 Members and 1 Guest are viewing this topic.

michaelmwdi

  • Guest
How do you subtract an array from a solid object
« on: January 03, 2016, 10:37:43 AM »
So here is a snippet of the code I'm writing.   I've commented out the section where i need a bit of help.

I found the solution to this before and I know it involves exploding and then grouping the array and then subtracting it.   

Any and all help would be appreciated.  In know it isn't all that difficult but I haven't figured it out.



      (command "array"  pin_hole1 "" "R" shlf_pin_cnt 2 shlf_pin_spcg (- Box_Depth (* Shlf_Pin_SetB 2) dado_inset back_thick))

      ;================

      Insert code to make array one solid object that can be subtracted from the solide "lside" noted in the last line      

      Name of solid object (array) = holesL

                ;================


      (command "ucs" "w")

      (command "copy" holesL "" "0,0,0" (list (+ (- Box_Width (* Side_thick 2)) Shlf_pin_dep)  0 0))
      (setq HolesR (entlast))

      (command "subtract" lside "" holesL "")