How to see hidden lines in Ruby,

Dear Friends,
In following picture, you can see 2 groups that created by ruby. In upper group we just go to “soften edge” and just click on “Angel between normals” but didn’t change it. As you can see line between group faces is visible on upper group but it is hidden on lower group. What can we do that line between faces will be visible when ruby make their group?
Thank you for help.



My group make by following codes.

        face1 = grp.entities.add_face pt0, pt1, pt2, pt3
        path = grp.entities.add_curve ptc
        face1.followme path

I cannot use add_line instead of add_curve because of followme. Also cannot use explode_curve-instance_method. What can I do?

grp.entities.grep(Sketchup::Edge).each{|e| e.soft = false}

1 Like

Thank you so much. It works well.

#grep is itself an iterator method. This should also work …

grp.entities.grep(Sketchup::Edge) { |e| e.soft = false }