prdatur / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 0 forks source link

profile op left/right inside/outside #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For the profile operation, the left/right/on options should be
inside/outside/on, if the sketch is closed.

Original issue reported on code.google.com by danhe...@gmail.com on 12 Apr 2009 at 9:38

GoogleCodeExporter commented 8 years ago
Circles aren't detected as closed sketches. Simple reason why is that the
CalculateOrder function doesn't understand circles. Complicated answer is that 
it
never can understand circles. CalculateOrder tries to find the way object are
naturally connected, since circles are not connected to anything, there is thus 
no
natural ordering. Imho, there are 2 ways to fix this. 
1. Make all circles clockwise by convention, or counterclockwise. And either 
allow
negative radius to indicate other ordered circles, or use the circle axis. Since
circles are symmetric, half of the vector space is equivalent to the other half.
However, I do not recommend using the vector space stuff as it might get weird 
when
people are moving circles around and they change ordering.

2. Attach an ordering to the circle entity. Requires modification of the file 
format.
Starts to get cnc into heekscad.  

Original comment by jonpry@gmail.com on 12 Apr 2009 at 11:29

GoogleCodeExporter commented 8 years ago
done.
circles don't need a direction now that I have inside/outside instead of 
right/left.
I have made them work ok.

Original comment by danhe...@gmail.com on 23 Aug 2009 at 9:02