Advertisement
Lucas_3D

Spline from Intersect

May 6th, 2021 (edited)
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. fn splineFromIntersect obj1 obj2 =
  2. (
  3. obj1 = copy obj1
  4. obj2 = copy obj2
  5. select obj1
  6. startObjectCreation BooleanObject2 --I want to add this without needing to select...
  7. clearSelection()
  8. obj1.AppendOperand obj1 obj2 0
  9. --macros.run "Modifier Stack" "Convert_to_Spline" --thanks Paul
  10. convertToSpline obj1
  11. obj1.name = uniqueName("splineFromIntersect-00")
  12. obj1.wirecolor = red
  13. )
  14. /*
  15. splineFromIntersect $GeoSphere001 $GeoSphere002
  16.  
  17. The Boolean settings might be persistent so there are some options
  18. $.operation[2] = 0 --union
  19. $.option[2] = 0 --no options
  20. $.operand_tm[2] = prs () --pos rot scale Matrix3Controller
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement