Skip to content

Commit

Permalink
Merge pull request #127 from jimfoltz/ignore-hidden
Browse files Browse the repository at this point in the history
Fixes #114 - ignore hidden geometry on export
  • Loading branch information
thomthom committed Mar 2, 2014
2 parents 6b821b7 + 6c57dfc commit c86a9ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sketchup-stl/exporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def self.export(path, options = OPTIONS)

def self.find_faces(file, entities, facet_count, scale, tform)
entities.each do |entity|
next if entity.hidden? || !entity.layer.visible?
if entity.is_a?(Sketchup::Face)
facet_count += write_face(file, entity, scale, tform)
elsif entity.is_a?(Sketchup::Group) ||
Expand Down

0 comments on commit c86a9ac

Please sign in to comment.