Request
-
I am looking for a plugin able to erase perpendicular lines that have a height different to 0
as well as another one able to drop parallel lines to z = 0
all inside a group
is it possible ?
Thanks in advance
-
If you want to remove just lines that have ends at different heights then use something like
m=Sketchup.active_model;s=m.selection.to_a;s.each{|e|next if e.class!="Sketchup;;Edge"; e.erase! if e.start.position.z!=e.end.position.z}
To erase all 'level' lines that are not at z=0
m=Sketchup.active_model;s=m.selection.to_a;s.each{|e|next if not e.class!="Sketchup;;Edge"; e.erase! if e.start.position.z!=e.end.position.z and e.end.position.z!=0}
To 'flatten' lines so they are level... is more complicated as you need to transform the end_vertex.z to match the start_vertex.z of the line etc...
-
ThomThom Plan tools
-
Thanks TIG and srx
I will see if I can manage
Advertisement