[Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-04 Thread jp charras
Tomasz, Orson, May I ask you to have a look at the calculations in 3d_draw_board_body.cpp, lines 377 to 392 I replaced the calculations lines 357 to 375 using boost::polygon to calculate the difference between 2 polygon sets by the same calculations using Clipper and the recent SHAPE_POLY_SET T

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-04 Thread Tomasz Wlostowski
On 04.07.2015 22:10, jp charras wrote: > Tomasz, Orson, > > May I ask you to have a look at the calculations in > 3d_draw_board_body.cpp, lines 377 to 392 I'm going to have a look. Tom > > I replaced the calculations lines 357 to 375 using boost::polygon to > calculate the difference between 2

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-05 Thread Tomasz Wlostowski
On 04.07.2015 23:08, Tomasz Wlostowski wrote: > On 04.07.2015 22:10, jp charras wrote: >> Tomasz, Orson, >> >> May I ask you to have a look at the calculations in >> 3d_draw_board_body.cpp, lines 377 to 392 > Hi, Please test the attached patch. Tom >From eabc846e51b23d2f03d6f5a1ba748a6d310f94bc

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-06 Thread jp charras
Le 05/07/2015 21:58, Tomasz Wlostowski a écrit : > On 04.07.2015 23:08, Tomasz Wlostowski wrote: >> On 04.07.2015 22:10, jp charras wrote: >>> Tomasz, Orson, >>> >>> May I ask you to have a look at the calculations in >>> 3d_draw_board_body.cpp, lines 377 to 392 >> > Hi, > > Please test the attach

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-06 Thread Tomasz Wlostowski
On 06.07.2015 11:44, jp charras wrote: > Le 05/07/2015 21:58, Tomasz Wlostowski a écrit : >> On 04.07.2015 23:08, Tomasz Wlostowski wrote: >>> On 04.07.2015 22:10, jp charras wrote: Tomasz, Orson, May I ask you to have a look at the calculations in 3d_draw_board_body.cpp, lines

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-06 Thread Maciej Sumiński
On 07/06/2015 02:30 PM, Tomasz Wlostowski wrote: > Fixes to SHAPE_POLY_SET slitting/fracturing algo: - Tom's too > dumb to use C++ iterators (so he uses pointers now ;) - Some speed > optimization I have tested the patch with all demos and one case that crashed KiCad before and all worked fine.

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-06 Thread jp charras
Le 06/07/2015 15:19, Maciej Sumiński a écrit : > On 07/06/2015 02:30 PM, Tomasz Wlostowski wrote: >> Fixes to SHAPE_POLY_SET slitting/fracturing algo: - Tom's too >> dumb to use C++ iterators (so he uses pointers now ;) - Some >> speed optimization > > I have tested the patch with all demos and o

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-06 Thread Tomasz Wlostowski
On 06.07.2015 15:51, jp charras wrote: > Le 06/07/2015 15:19, Maciej Sumiński a écrit : >> On 07/06/2015 02:30 PM, Tomasz Wlostowski wrote: >>> Fixes to SHAPE_POLY_SET slitting/fracturing algo: - Tom's too >>> dumb to use C++ iterators (so he uses pointers now ;) - Some >>> speed optimization >> >

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-06 Thread Wayne Stambaugh
On 7/6/2015 9:56 AM, Tomasz Wlostowski wrote: > On 06.07.2015 15:51, jp charras wrote: >> Le 06/07/2015 15:19, Maciej Sumiński a écrit : >>> On 07/06/2015 02:30 PM, Tomasz Wlostowski wrote: Fixes to SHAPE_POLY_SET slitting/fracturing algo: - Tom's too dumb to use C++ iterators (so he use

Re: [Kicad-developers] Segmentation fault when using Clipper and SHAPE_POLY_SET in 3D viewer. Need help.

2015-07-06 Thread Tomasz Wlostowski
On 06.07.2015 19:02, Wayne Stambaugh wrote: > On 7/6/2015 9:56 AM, Tomasz Wlostowski wrote: >> On 06.07.2015 15:51, jp charras wrote: >>> Le 06/07/2015 15:19, Maciej Sumiński a écrit : On 07/06/2015 02:30 PM, Tomasz Wlostowski wrote: > Fixes to SHAPE_POLY_SET slitting/fracturing algo: - To