Class: EnfEditor::EEBrepVolume

Inherits:
EECompRepChildElement show all
Includes:
ColorUtils, PropertyName, PropertyUtils, UserPropertyUtils
Defined in:
lib/enfeditor/core_ext/ee_brep.rb,
ext/enfhandler/EnfHandler_wrap2.cxx

Overview

Proxy of C++ EnfEditor::EEBrepVolume class

Instance Method Summary collapse

Methods included from PropertyUtils

#display=, #display?, #layer, #layer=

Methods included from PropertyName

#name, #name=

Methods included from ColorUtils

#has_material_color?, #has_material_color_rgb?, #material_color, #material_color=

Methods included from UserPropertyUtils

#create_user_property, #user_properties

Methods inherited from EEElement

#delete!

Methods inherited from EEBase

#null?

Instance Method Details

#open_close_flagSymbol

Returns :open for open volume and :close for closed volume.

Examples:

component.volumes.each do |volume|
  volume.delete! if volume.open_close_flag == :open  # delete open volume (sheet/quilt)
end

Returns:

  • (Symbol)

    Returns :open for open volume and :close for closed volume.

Since:

  • 0.8.1.0

#shellsArray<EEBrepShell> Also known as: children

Returns all shells in volume.

Examples:

# Get shells from volume
volume.shells  # => [(EEBrepShell), ...]

Returns:

  • (Array<EEBrepShell>)

    Returns all shells in volume.

Since:

  • 0.1.0.0