ln.endPoint(), pg[0].startPoint()
)
pg.append(ln)
- return pg
\ No newline at end of file
+ return pg
+
+def dof(sketch):
+ """ Extract degrees of freedom for the given sketch
+ """
+ return int(filter(str.isdigit, sketch.string("SolverDOF").value()))
\ No newline at end of file