Class: CrystalScad::Difference
- Inherits:
-
CSGModelling
- Object
- CrystalScadObject
- Primitive
- CSGModelling
- CrystalScad::Difference
- Defined in:
- lib/crystalscad/CrystalScad.rb
Instance Attribute Summary
Attributes inherited from Primitive
Attributes inherited from CrystalScadObject
Instance Method Summary collapse
-
#initialize(*list) ⇒ Difference
constructor
A new instance of Difference.
Methods inherited from CSGModelling
Methods inherited from Primitive
#mirror, #rotate, #rotate_around, #scale, #transform, #translate, #union
Methods inherited from CrystalScadObject
#save, #to_rubyscad, #walk_tree, #walk_tree_classes
Constructor Details
#initialize(*list) ⇒ Difference
Returns a new instance of Difference.
333 334 335 336 |
# File 'lib/crystalscad/CrystalScad.rb', line 333 def initialize(*list) @operation = "difference" super(*list) end |