Tuesday, 1 February 2011

Trimming tool

Implemented a Trim method that receives as parameters two edges and a point in space. The method trimms one of the edges with the second one on the side shown by the point in space. For now it seems to work well on unit tests made for it.

The output of Trim is for the moment a wire in space. In order to make the tool much more powerful the plan for the final Trim tool is to generate geometry that we "know" in Naro. Ex: a trimmed Circle will create an Arc Node in Tree View editable in Property Grid, a trimmed Line will generate a Line Node.

No comments:

Post a Comment