Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
π£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download
Hidden or soften edge on a face?
-
Hello,
it has been a long time I lost contact with ruby. Happy to be back!I'm creating a face,
pt1=Geom;;Point3d.new(0,0,0) pt2=Geom;;Point3d.new(rand(100),rand(100),0) pt3=Geom;;Point3d.new(rand(100),rand(100),0) baseface = Sketchup.active_model.entities.add_face(pt1,pt2,pt3)but I want one of the edge(for example between pt1 and pt2) to be hidden or soften.
Any idea how to do it?
Thanks!
-
Hi !
To soft an edge, you have two parameters : edge.soft & edge.smoothe = baseface.edges[0] e.smooth=true e.soft=true
-
Cool,
Merci Matt!
Advertisement