Страница 1 из 1

Gcode-tools offset extension

Добавлено: 23 июл 2010, 20:56
alfcnc
Bugs of offset function...
the use

Re: Gcode-tools offset extension

Добавлено: 23 июл 2010, 21:02
alfcnc
I try the offset Extension...with circle ... others basical geometrical forms... ok.
I'll try with text Coucou offset in ok.
But offset out give me an erros on the C letter, the third offset is loose ?
coucou_offset_error.png (11474 просмотра) <a class='original' href='./download/file.php?id=569&mode=view' target=_blank>Загрузить оригинал (471.3 КБ)</a>
the offset setting was :
Radius : 10
step: 1.6

The svg file:
coucou.svg
(172.77 КБ) 1505 скачиваний

Re: Gcode-tools offset extension

Добавлено: 23 июл 2010, 21:29
admin
Yes offset does not work as I want it to.
The main problem is clipping of the offsetted path. Offset of the cubic Bezier curve is can not been defined by Bezier curve. So the only way to make an offset by Beziers is to approximate the offset curve with cubic Bezier curves. It leads us to do a lot tolerances.

Another problem is that offsetted curve could have self intersections and many loops formed by self intersections. So we have to cut bad loops out. But how can we define which loop to cut of and which not?

I've spent about a month to make it work, now I need to have a little rest from it or my head will blow :).

As a quick check you can turn on "Draw clipped path" check box to see problem points and add a little subdivision or simplify the path there.

For example if you add a control point to letter C as it shown in the attachment the offset should be fine.
____________
This was from root.

Re: Gcode-tools offset extension

Добавлено: 25 июл 2010, 00:51
alfcnc
Ok ! Very crazy ... :cheesy:
It's incredible tha you are push to made approximation... I think that was vector and that was
very easy to define of the shape .... but it's very very more tricky ...
I have read a little the code ... congratulation for the job done...

Have a good night... :D and doesn't blow your head.. please.. keep it safe ! thank's. :idea: