Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions SketchUp/Sketchup/ComponentInstance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,10 @@ def split(instance)
end

# The subtract method is used to compute the boolean difference of the two
# instances representing manifold solid volumes (this - arg). If the specified
# objects (this and arg) do not represent manifold volumes, this method fails.
# instances representing manifold solid volumes (arg - this). Both instances
# are deleted and replaced by the result of subtracting the first from the
# second instance. If the specified objects (this and arg) do not represent
# manifold volumes, this method fails.
#
# @example
# entities = Sketchup.active_model.entities
Expand Down Expand Up @@ -536,9 +538,10 @@ def transformation=(transformation)
end

# The trim method is used to compute the (non-destructive) boolean difference
# of the two instances representing manifold solid volumes (this - arg). If
# the specified objects (this and arg) do not represent manifold volumes, this
# method fails.
# of the two instances representing manifold solid volumes (arg - this). The
# argument is deleted and replaced by the result of subtracting the first from
# the second instance. If the specified objects (this and arg) do not represent
# manifold volumes, this method fails.
#
# @example
# entities = Sketchup.active_model.entities
Expand Down
13 changes: 8 additions & 5 deletions SketchUp/Sketchup/Group.rb
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,10 @@ def split(group)
end

# The subtract method is used to compute the boolean difference of the two
# groups representing manifold solid volumes (this - arg). If the specified
# objects (this and arg) do not represent manifold volumes, this method fails.
# groups representing manifold solid volumes (arg - this). Both groups are
# deleted and replaced by the result of subtracting the first from the second
# group. If the specified objects (this and arg) do not represent manifold
# volumes, this method fails.
#
# @example
# entities = Sketchup.active_model.entities
Expand Down Expand Up @@ -640,9 +642,10 @@ def transformation=(transform)
end

# The trim method is used to compute the (non-destructive) boolean difference
# of the two groups representing manifold solid volumes (this - arg). If
# the specified objects (this and arg) do not represent manifold volumes, this
# method fails.
# of the two groups representing manifold solid volumes (arg - this). The
# argument is deleted and replaced by the result of subtracting the first from
# the second group. If the specified objects (this and arg) do not represent
# manifold volumes, this method fails.
#
# @example
# entities = Sketchup.active_model.entities
Expand Down