As a first challenge I'm targeting http://www.instructables.com/id/Custom-Wooden-Train-Track-X-crossing/.
It would be nice If you can do something like:
var part = new iPath().line(3,0).line(4,4).fillet(4).line(4,0)....
part.reflect({x:1,y:1}).reflect({x:1}).reflect({y:1})
the fillet will put an arc with given radius between two straight lines:Unfortunately I have not been able to implement reflect and fillet reliable in iPath. As an alternative for now I use an array with line points, these will all be rendered in visible line, or arc segments. This array can passed as arguments to the functions reflectPath and arcPath.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.