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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement