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