Ruby Arc Making Bug
-
If you define an Arc in Ruby it's usually an Arc when it's selected etc... BUT if you make it with a non-axial 'xaxis' and a +/-ve angle off from that, then it'll make the Arc BUT it 'seems' to be in bits of edges - even when entity-info'd - however using arcedges=entities.add_arc(......) then using arcedges[0].curve returns an ArcCurve - so really it's OK... Indeed, if you save, then close the Model and reopen then it these edges reform into an Arc in that next session ! The fix I use is to set all=[arcedges[0]]+arcedges[0].all_connected; gp=entities.add_group(all);gp1=gp.copy;gp.erase!;gp1.explode ........ then the Arc is made as an Arc and no outside geometry has been messed up...
However, it'd be better if making an Arc made an Arc during that session, without this messing about !!!
Advertisement