SP
Sanjeev Prabhakar
Fri, Dec 30, 2022 12:48 PM
sometime back someone posted this code for making an artifact.
It took a long time but could not be executed, although some workaround was
found.
Gave it a try with the same code rewritten in python (JN)
It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
calculate the points, but at least it could run successfully and below is
the wonderful picture and the code, in case anyone is interested.
[image: Screenshot 2022-12-30 at 6.02.52 PM.png]
sometime back someone posted this code for making an artifact.
It took a long time but could not be executed, although some workaround was
found.
Gave it a try with the same code rewritten in python (JN)
It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
calculate the points, but at least it could run successfully and below is
the wonderful picture and the code, in case anyone is interested.
[image: Screenshot 2022-12-30 at 6.02.52 PM.png]
J
jon
Fri, Dec 30, 2022 1:19 PM
Was this done in OpenSCAD?
On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
sometime back someone posted this code for making an artifact.
It took a long time but could not be executed, although some
workaround was found.
Gave it a try with the same code rewritten in python (JN)
It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
calculate the points, but at least it could run successfully and below
is the wonderful picture and the code, in case anyone is interested.
Screenshot 2022-12-30 at 6.02.52 PM.png
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
Was this done in OpenSCAD?
On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
> sometime back someone posted this code for making an artifact.
>
> It took a long time but could not be executed, although some
> workaround was found.
>
> Gave it a try with the same code rewritten in python (JN)
>
> It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
> calculate the points, but at least it could run successfully and below
> is the wonderful picture and the code, in case anyone is interested.
>
> Screenshot 2022-12-30 at 6.02.52 PM.png
>
>
>
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email todiscuss-leave@lists.openscad.org
SP
Sanjeev Prabhakar
Fri, Dec 30, 2022 1:37 PM
Points were calculated through python and rendered in openscad
On Fri, 30 Dec, 2022, 6:49 pm jon, jon@jonbondy.com wrote:
Was this done in OpenSCAD?
On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
sometime back someone posted this code for making an artifact.
It took a long time but could not be executed, although some
workaround was found.
Gave it a try with the same code rewritten in python (JN)
It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
calculate the points, but at least it could run successfully and below is
the wonderful picture and the code, in case anyone is interested.
[image: Screenshot 2022-12-30 at 6.02.52 PM.png]
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Points were calculated through python and rendered in openscad
On Fri, 30 Dec, 2022, 6:49 pm jon, <jon@jonbondy.com> wrote:
> Was this done in OpenSCAD?
> On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
>
> sometime back someone posted this code for making an artifact.
>
> It took a long time but could not be executed, although some
> workaround was found.
>
> Gave it a try with the same code rewritten in python (JN)
>
> It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
> calculate the points, but at least it could run successfully and below is
> the wonderful picture and the code, in case anyone is interested.
>
> [image: Screenshot 2022-12-30 at 6.02.52 PM.png]
>
>
>
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
>
J
jon
Fri, Dec 30, 2022 1:42 PM
So, the 2500 seconds was outside OpenSCAD: how long was the OpenSCAD
rendering?
On 12/30/2022 8:37 AM, Sanjeev Prabhakar wrote:
Points were calculated through python and rendered in openscad
On Fri, 30 Dec, 2022, 6:49 pm jon, jon@jonbondy.com wrote:
Was this done in OpenSCAD?
On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
sometime back someone posted this code for making an artifact.
It took a long time but could not be executed, although some
workaround was found.
Gave it a try with the same code rewritten in python (JN)
It still took 2500 sec ( around 40 minutes) on my macbook air m1
to calculate the points, but at least it could run successfully
and below is the wonderful picture and the code, in case anyone
is interested.
Screenshot 2022-12-30 at 6.02.52 PM.png
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org
So, the 2500 seconds was outside OpenSCAD: how long was the OpenSCAD
rendering?
On 12/30/2022 8:37 AM, Sanjeev Prabhakar wrote:
> Points were calculated through python and rendered in openscad
>
> On Fri, 30 Dec, 2022, 6:49 pm jon, <jon@jonbondy.com> wrote:
>
> Was this done in OpenSCAD?
>
> On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
>> sometime back someone posted this code for making an artifact.
>>
>> It took a long time but could not be executed, although some
>> workaround was found.
>>
>> Gave it a try with the same code rewritten in python (JN)
>>
>> It still took 2500 sec ( around 40 minutes) on my macbook air m1
>> to calculate the points, but at least it could run successfully
>> and below is the wonderful picture and the code, in case anyone
>> is interested.
>>
>> Screenshot 2022-12-30 at 6.02.52 PM.png
>>
>>
>>
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email todiscuss-leave@lists.openscad.org
>
SP
Sanjeev Prabhakar
Fri, Dec 30, 2022 2:56 PM
that is only few seconds,
i did not look at the it, but it was almost instant
On Fri, 30 Dec 2022 at 19:12, jon jon@jonbondy.com wrote:
So, the 2500 seconds was outside OpenSCAD: how long was the OpenSCAD
rendering?
On 12/30/2022 8:37 AM, Sanjeev Prabhakar wrote:
Points were calculated through python and rendered in openscad
On Fri, 30 Dec, 2022, 6:49 pm jon, jon@jonbondy.com wrote:
Was this done in OpenSCAD?
On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
sometime back someone posted this code for making an artifact.
It took a long time but could not be executed, although some
workaround was found.
Gave it a try with the same code rewritten in python (JN)
It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
calculate the points, but at least it could run successfully and below is
the wonderful picture and the code, in case anyone is interested.
[image: Screenshot 2022-12-30 at 6.02.52 PM.png]
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
that is only few seconds,
i did not look at the it, but it was almost instant
On Fri, 30 Dec 2022 at 19:12, jon <jon@jonbondy.com> wrote:
> So, the 2500 seconds was outside OpenSCAD: how long was the OpenSCAD
> rendering?
> On 12/30/2022 8:37 AM, Sanjeev Prabhakar wrote:
>
> Points were calculated through python and rendered in openscad
>
> On Fri, 30 Dec, 2022, 6:49 pm jon, <jon@jonbondy.com> wrote:
>
>> Was this done in OpenSCAD?
>> On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
>>
>> sometime back someone posted this code for making an artifact.
>>
>> It took a long time but could not be executed, although some
>> workaround was found.
>>
>> Gave it a try with the same code rewritten in python (JN)
>>
>> It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
>> calculate the points, but at least it could run successfully and below is
>> the wonderful picture and the code, in case anyone is interested.
>>
>> [image: Screenshot 2022-12-30 at 6.02.52 PM.png]
>>
>>
>>
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>
>>
SP
Sanjeev Prabhakar
Fri, Dec 30, 2022 3:05 PM
the scad file is 22mb and that is the reason did not share it.
I have checked the rendering time in openscad and it is around 4.5 sec
(flushed caches and f5 3 times)
f6 rendering 4.5 sec as well
On Fri, 30 Dec 2022 at 20:26, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:
that is only few seconds,
i did not look at the it, but it was almost instant
On Fri, 30 Dec 2022 at 19:12, jon jon@jonbondy.com wrote:
So, the 2500 seconds was outside OpenSCAD: how long was the OpenSCAD
rendering?
On 12/30/2022 8:37 AM, Sanjeev Prabhakar wrote:
Points were calculated through python and rendered in openscad
On Fri, 30 Dec, 2022, 6:49 pm jon, jon@jonbondy.com wrote:
Was this done in OpenSCAD?
On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
sometime back someone posted this code for making an artifact.
It took a long time but could not be executed, although some
workaround was found.
Gave it a try with the same code rewritten in python (JN)
It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
calculate the points, but at least it could run successfully and below is
the wonderful picture and the code, in case anyone is interested.
[image: Screenshot 2022-12-30 at 6.02.52 PM.png]
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
the scad file is 22mb and that is the reason did not share it.
I have checked the rendering time in openscad and it is around 4.5 sec
(flushed caches and f5 3 times)
f6 rendering 4.5 sec as well
On Fri, 30 Dec 2022 at 20:26, Sanjeev Prabhakar <sprabhakar2006@gmail.com>
wrote:
> that is only few seconds,
> i did not look at the it, but it was almost instant
>
>
> On Fri, 30 Dec 2022 at 19:12, jon <jon@jonbondy.com> wrote:
>
>> So, the 2500 seconds was outside OpenSCAD: how long was the OpenSCAD
>> rendering?
>> On 12/30/2022 8:37 AM, Sanjeev Prabhakar wrote:
>>
>> Points were calculated through python and rendered in openscad
>>
>> On Fri, 30 Dec, 2022, 6:49 pm jon, <jon@jonbondy.com> wrote:
>>
>>> Was this done in OpenSCAD?
>>> On 12/30/2022 7:48 AM, Sanjeev Prabhakar wrote:
>>>
>>> sometime back someone posted this code for making an artifact.
>>>
>>> It took a long time but could not be executed, although some
>>> workaround was found.
>>>
>>> Gave it a try with the same code rewritten in python (JN)
>>>
>>> It still took 2500 sec ( around 40 minutes) on my macbook air m1 to
>>> calculate the points, but at least it could run successfully and below is
>>> the wonderful picture and the code, in case anyone is interested.
>>>
>>> [image: Screenshot 2022-12-30 at 6.02.52 PM.png]
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> OpenSCAD mailing list
>>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>>
>>>
J
jay@jdnd.co.uk
Fri, Dec 30, 2022 7:44 PM
is there any or could there be any functionality for grouping of modules
and function
example
class Case
{
function Width() = 100;
function Height() = 100;
function Depth() = 100;
module Draw(val)
{
// render somthing
}
}
Case.Draw(10);
or maybe something like
use<./myFile.scad> as Case
Case.Draw(10);
these are obviously examples of grouping and are not likely to compile
Jay Dee
is there any or could there be any functionality for grouping of modules
and function
example
class Case
{
function Width() = 100;
function Height() = 100;
function Depth() = 100;
module Draw(val)
{
// render somthing
}
}
Case.Draw(10);
or maybe something like
use<./myFile.scad> as Case
Case.Draw(10);
these are obviously examples of grouping and are not likely to compile
Jay Dee
TP
Torsten Paul
Fri, Dec 30, 2022 8:15 PM
is there any or could there be any functionality for grouping of
modules and function
No... however there's some work-in-progress action happening in
https://github.com/openscad/openscad/pull/4478
If you just need something stable for designs that need to be
finished and/or released, that is not an option.
But if you feel experimental and maybe even have the time for
providing feedback to the still open questions listed there, it
could be an interesting place to get involved with.
ciao,
Torsten.
On 30.12.22 20:44, jay@jdnd.co.uk wrote:
> is there any or could there be any functionality for grouping of
> modules and function
No... however there's some work-in-progress action happening in
https://github.com/openscad/openscad/pull/4478
If you just need something stable for designs that need to be
finished and/or released, that is not an option.
But if you feel experimental and maybe even have the time for
providing feedback to the still open questions listed there, it
could be an interesting place to get involved with.
ciao,
Torsten.