Compare commits

...

2 Commits

Author SHA1 Message Date
Oğuzhan Koral 9871000d84 no more netlify url (#436)
Build and deploy / build (push) Has been cancelled
Build and deploy / deploy-installers (push) Has been cancelled
2025-07-23 17:47:27 +01:00
kekesidavid 17a056b3b9 fix(sketchup) fix for orphan edges (#435)
* fix for orphan edges

* fix
2025-07-10 13:27:34 +03:00
2 changed files with 11 additions and 1 deletions
@@ -34,7 +34,17 @@ module SpeckleConnector3
edges.each { |edge| remove_edge_have_coplanar_faces(edge) }
# Remove remaining orphan edges
# the commented out code throws an exception over deleted elements
# even if they are rejected by deleted? flag
# edges.reject(&:deleted?).select { |edge| edge.faces.empty? }.each(&:erase!)
edges.each do |edge|
next if edge.deleted?
begin
edge.erase! if edge.faces.empty?
rescue Sketchup::DeletedEntityError
# Ignore deleted edge
end
end
merged_faces(faces)
end
+1 -1
View File
@@ -85,7 +85,7 @@ module SpeckleConnector3
end
# File.exist?(@htm_file) ? dialog.set_file(@htm_file) : dialog.set_url('http://localhost:9091')
# dialog.set_url('http://localhost:8082') # uncomment this line if you want to use your local version of ui
dialog.set_url('https://boisterous-douhua-e3cefb.netlify.app/') # uncomment this line if you want to use deployed ui on netlify
dialog.set_url('https://dui.speckle.systems/') # uncomment this line if you want to use deployed ui on netlify
add_exec_callback(dialog)
dialog
end