I was playing with Sweep and came across this crash:
Not sure why I cannot use square() inside the function shape(), but when
I tried to roll my own shape, OS crashed. I tried both orientations of
the square inside shape(), but both crashed.
Jon
use <sweep.scad>
function f(t) = [
(t / 1.5 + 0.5) * 100 * cos(6 * 360 * t),
(t / 1.5 + 0.5) * 100 * sin(6 * 360 * t),
200 * (1 - t)
];
function shape() =
[
[0, 0],
[0, 1],
[1, 1],
[1, 0],
[0, 0]
];
// square(size = 7);
/* [
[-10, -1],
[-10, 6],
[ -7, 6],
[ -7, 1],
[ 7, 1],
[ 7, 6],
[ 10, 6],
[ 10, -1]];
*/
step = 0.005;
path = [for (t=[0:step:1-step]) f(t)];
path_transforms = construct_transform_path(path);
sweep(shape(), path_transforms);
Ah. I needed to omit the final [0, 0]. Seems like an error message is
in order rather than a crash...
Jon
On 12/13/2015 6:59 AM, jon wrote:
I was playing with Sweep and came across this crash:
Not sure why I cannot use square() inside the function shape(), but
when I tried to roll my own shape, OS crashed. I tried both
orientations of the square inside shape(), but both crashed.
Jon
use <sweep.scad>
function f(t) = [
(t / 1.5 + 0.5) * 100 * cos(6 * 360 * t),
(t / 1.5 + 0.5) * 100 * sin(6 * 360 * t),
200 * (1 - t)
];
function shape() =
[
[0, 0],
[0, 1],
[1, 1],
[1, 0],
[0, 0]
];
// square(size = 7);
/* [
[-10, -1],
[-10, 6],
[ -7, 6],
[ -7, 1],
[ 7, 1],
[ 7, 6],
[ 10, 6],
[ 10, -1]];
*/
step = 0.005;
path = [for (t=[0:step:1-step]) f(t)];
path_transforms = construct_transform_path(path);
sweep(shape(), path_transforms);
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7294 / Virus Database: 4483/11165 - Release Date:
12/12/15
Hi!
On 12/13/2015 01:10 PM, jon wrote:
Ah. I needed to omit the final [0, 0]. Seems like an error message is in order rather than a crash...
Jon
On 12/13/2015 6:59 AM, jon wrote:
I was playing with Sweep and came across this crash:
Not sure why I cannot use square() inside the function shape(), but when I tried to roll my own shape, OS crashed. I tried both
orientations of the square inside shape(), but both crashed.
Please try with the latest release. I can reproduce the crash with
2015.03-1 but not with 2015.03-2 (on Linux).
ciao,
Torsten.
I am using 2015.03 under Win 8.1 (according to the Help, About). Where
would I find 2015.03-2 for Windows please?
On 12/13/2015 7:24 AM, Torsten Paul wrote:
Hi!
On 12/13/2015 01:10 PM, jon wrote:
Ah. I needed to omit the final [0, 0]. Seems like an error message is in order rather than a crash...
Jon
On 12/13/2015 6:59 AM, jon wrote:
I was playing with Sweep and came across this crash:
Not sure why I cannot use square() inside the function shape(), but when I tried to roll my own shape, OS crashed. I tried both
orientations of the square inside shape(), but both crashed.
Please try with the latest release. I can reproduce the crash with
2015.03-1 but not with 2015.03-2 (on Linux).
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7294 / Virus Database: 4483/11165 - Release Date: 12/12/15
On 12/13/2015 01:32 PM, jon wrote:
I am using 2015.03 under Win 8.1 (according to the Help, About). Where would I find 2015.03-2 for Windows please?
On the download page: http://www.openscad.org/downloads.html
Note that the patch version "-2" only shows up in the About window text (not in the window title).
ciao,
Torsten.
You are correct: I get a parser error in the 2015.03-2 release
Thanks!
On 12/13/2015 7:36 AM, Torsten Paul wrote:
On 12/13/2015 01:32 PM, jon wrote:
I am using 2015.03 under Win 8.1 (according to the Help, About). Where would I find 2015.03-2 for Windows please?
On the download page: http://www.openscad.org/downloads.html
Note that the patch version "-2" only shows up in the About window text (not in the window title).
ciao,
Torsten.
OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7294 / Virus Database: 4483/11165 - Release Date: 12/12/15
If there are any Windows devs out there, it would be cool to do auto update. We should have most infrastructure in place for Mac already: https://github.com/openscad/openscad/issues/1470
-Marius