discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

cinquefoil torus knot in openSCAD

L
larry
Wed, Jun 7, 2023 9:35 PM

On Wed, 2023-06-07 at 22:06 +0530, Sanjeev Prabhakar wrote:

refer to the file attached
added some explanation
this is quite interesting
Screenshot 2023-06-07 at 10.01.40 PM.png

Quite interesting indeed!

I did not know what changing the p and a values would do, so I played
with them.

It got even more interesting when I tried p=3.5

On Wed, 2023-06-07 at 22:06 +0530, Sanjeev Prabhakar wrote: > refer to the file attached > added some explanation > this is quite interesting > Screenshot 2023-06-07 at 10.01.40 PM.png Quite interesting indeed! I did not know what changing the p and a values would do, so I played with them. It got even more interesting when I tried p=3.5
SP
Sanjeev Prabhakar
Thu, Jun 8, 2023 12:53 AM

p and q need to be integers to be a valid knot.

you can try this to see like a rope
a=20;
d=1;
p=3;
q=34;

On Thu, 8 Jun 2023 at 03:06, larry lar3ry@sasktel.net wrote:

On Wed, 2023-06-07 at 22:06 +0530, Sanjeev Prabhakar wrote:

refer to the file attached
added some explanation
this is quite interesting
Screenshot 2023-06-07 at 10.01.40 PM.png

Quite interesting indeed!

I did not know what changing the p and a values would do, so I played
with them.

It got even more interesting when I tried p=3.5


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

p and q need to be integers to be a valid knot. you can try this to see like a rope a=20; d=1; p=3; q=34; On Thu, 8 Jun 2023 at 03:06, larry <lar3ry@sasktel.net> wrote: > On Wed, 2023-06-07 at 22:06 +0530, Sanjeev Prabhakar wrote: > > refer to the file attached > > added some explanation > > this is quite interesting > > Screenshot 2023-06-07 at 10.01.40 PM.png > > Quite interesting indeed! > > I did not know what changing the p and a values would do, so I played > with them. > > It got even more interesting when I tried p=3.5 > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
K
Ken
Thu, Jun 8, 2023 7:57 AM

Sanjeev, I found this very interesting so I tried to run it my system
and it throws up multiple errors to do with the library file,
dependencies.scad.

My dependencies.scad is dated October 2022, I'm running 2023.04.19 (git
21e66f197). Any ideas on what the problem might be?

On 2023-06-08 02:36, Sanjeev Prabhakar wrote:

refer to the file attached
added some explanation
this is quite interesting
Screenshot 2023-06-07 at 10.01.40 PM.png

On Thu, 1 Jun 2023 at 17:11, Rogier Wolff R.E.Wolff@bitwizard.nl wrote:

 On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote:

It will look better if the step size evenly divides the range,

 but if you

really want to use a stepsize that does not, add closed=true to the
path_sweep call in order to close the shape.  That will

 eliminate the gap.

If step is set to 0.003, there's a gap in the figure.  0.002

 and 0.001 go

back to no gap.  That's all I tried.  The difference is that

 0.003 doesn't

fit evenly into 1 so the for loop needs to be adjusted to

 compensate.

 If you start out with:

 numsteps = 200;
 step = 1/numsteps;

 it'll be obvious if you put in a non-integer.

         Roger.

 -- 
 ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/
 <https://www.BitWizard.nl/> ** +31-15-2049110 **
 **    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK:
 27239233    **
 f equals m times a. When your f is steady, and your m is going down
 your a is going up.  -- Chris Hadfield about flying up the space
 shuttle.
 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

Sanjeev, I found this very interesting so I tried to run it my system and it throws up multiple errors to do with the library file, dependencies.scad. My dependencies.scad is dated October 2022, I'm running 2023.04.19 (git 21e66f197). Any ideas on what the problem might be? On 2023-06-08 02:36, Sanjeev Prabhakar wrote: > refer to the file attached > added some explanation > this is quite interesting > Screenshot 2023-06-07 at 10.01.40 PM.png > > > > On Thu, 1 Jun 2023 at 17:11, Rogier Wolff <R.E.Wolff@bitwizard.nl> wrote: > > On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote: > > It will look better if the step size evenly divides the range, > but if you > > really want to use a stepsize that does not, add closed=true to the > > path_sweep call in order to close the shape.  That will > eliminate the gap. > > > > If step is set to 0.003, there's a gap in the figure.  0.002 > and 0.001 go > > > back to no gap.  That's all I tried.  The difference is that > 0.003 doesn't > > > fit evenly into 1 so the for loop needs to be adjusted to > compensate. > > If you start out with: > > numsteps = 200; > step = 1/numsteps; > > it'll be obvious if you put in a non-integer. > >         Roger. > > -- > ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ > <https://www.BitWizard.nl/> ** +31-15-2049110 ** > **    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: > 27239233    ** > f equals m times a. When your f is steady, and your m is going down > your a is going up.  -- Chris Hadfield about flying up the space > shuttle. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org -- Cheers, Ken bats059@gmail.com https://vk7krj.com https://vk7krj.com/running.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Your job as parents is to teach them to control all three. My job as a grandad is to tell you how you are doing it all wrong!
SP
Sanjeev Prabhakar
Thu, Jun 8, 2023 8:04 AM

Please download the latest dependencies file
I did some changes in that but don't exactly remember, what it was

On Thu, 8 Jun, 2023, 1:28 pm Ken, bats059@gmail.com wrote:

Sanjeev, I found this very interesting so I tried to run it my system and
it throws up multiple errors to do with the library file, dependencies.scad.

My dependencies.scad is dated October 2022, I'm running 2023.04.19 (git
21e66f197). Any ideas on what the problem might be?

On 2023-06-08 02:36, Sanjeev Prabhakar wrote:

refer to the file attached
added some explanation
this is quite interesting
[image: Screenshot 2023-06-07 at 10.01.40 PM.png]

On Thu, 1 Jun 2023 at 17:11, Rogier Wolff R.E.Wolff@bitwizard.nl wrote:

On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote:

It will look better if the step size evenly divides the range, but if

you

really want to use a stepsize that does not, add closed=true to the
path_sweep call in order to close the shape.  That will eliminate the

gap.

If step is set to 0.003, there's a gap in the figure.  0.002 and

0.001 go

back to no gap.  That's all I tried.  The difference is that 0.003

doesn't

fit evenly into 1 so the for loop needs to be adjusted to compensate.

If you start out with:

numsteps = 200;
step = 1/numsteps;

it'll be obvious if you put in a non-integer.

     Roger.

--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110
**
**    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: 27239233
**
f equals m times a. When your f is steady, and your m is going down
your a is going up.  -- Chris Hadfield about flying up the space shuttle.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Please download the latest dependencies file I did some changes in that but don't exactly remember, what it was On Thu, 8 Jun, 2023, 1:28 pm Ken, <bats059@gmail.com> wrote: > Sanjeev, I found this very interesting so I tried to run it my system and > it throws up multiple errors to do with the library file, dependencies.scad. > > My dependencies.scad is dated October 2022, I'm running 2023.04.19 (git > 21e66f197). Any ideas on what the problem might be? > > On 2023-06-08 02:36, Sanjeev Prabhakar wrote: > > refer to the file attached > added some explanation > this is quite interesting > [image: Screenshot 2023-06-07 at 10.01.40 PM.png] > > > > On Thu, 1 Jun 2023 at 17:11, Rogier Wolff <R.E.Wolff@bitwizard.nl> wrote: > >> On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote: >> > It will look better if the step size evenly divides the range, but if >> you >> > really want to use a stepsize that does not, add closed=true to the >> > path_sweep call in order to close the shape. That will eliminate the >> gap. >> >> > > If step is set to 0.003, there's a gap in the figure. 0.002 and >> 0.001 go >> > > back to no gap. That's all I tried. The difference is that 0.003 >> doesn't >> > > fit evenly into 1 so the for loop needs to be adjusted to compensate. >> >> If you start out with: >> >> numsteps = 200; >> step = 1/numsteps; >> >> it'll be obvious if you put in a non-integer. >> >> Roger. >> >> -- >> ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 >> ** >> ** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 >> ** >> f equals m times a. When your f is steady, and your m is going down >> your a is going up. -- Chris Hadfield about flying up the space shuttle. >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > -- > Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a smell at the other. > Your job as parents is to teach them to control all three. > My job as a grandad is to tell you how you are doing it all wrong! > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
K
Ken
Thu, Jun 8, 2023 10:05 AM

Thanks Sanjeev- but after much googling, I can't find the dependencies
file anywhere- could you point me to where I can find it please?

On 2023-06-08 18:04, Sanjeev Prabhakar wrote:

Please download the latest dependencies file
I did some changes in that but don't exactly remember, what it was

On Thu, 8 Jun, 2023, 1:28 pm Ken, bats059@gmail.com wrote:

 Sanjeev, I found this very interesting so I tried to run it my
 system and it throws up multiple errors to do with the library
 file, dependencies.scad.

 My dependencies.scad is dated October 2022, I'm running 2023.04.19
 (git 21e66f197). Any ideas on what the problem might be?

 On 2023-06-08 02:36, Sanjeev Prabhakar wrote:
 refer to the file attached
 added some explanation
 this is quite interesting
 Screenshot 2023-06-07 at 10.01.40 PM.png



 On Thu, 1 Jun 2023 at 17:11, Rogier Wolff
 <R.E.Wolff@bitwizard.nl> wrote:

     On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote:

It will look better if the step size evenly divides the

     range, but if you

really want to use a stepsize that does not, add

     closed=true to the

path_sweep call in order to close the shape. That will

     eliminate the gap.

If step is set to 0.003, there's a gap in the figure. 

     0.002 and 0.001 go

back to no gap.  That's all I tried.  The difference is

     that 0.003 doesn't

fit evenly into 1 so the for loop needs to be adjusted to

     compensate.

     If you start out with:

     numsteps = 200;
     step = 1/numsteps;

     it'll be obvious if you put in a non-integer.

             Roger.

     -- 
     ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/
     <https://www.BitWizard.nl/> ** +31-15-2049110 **
     **    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK:
     27239233    **
     f equals m times a. When your f is steady, and your m is
     going down
     your a is going up.  -- Chris Hadfield about flying up the
     space shuttle.
     _______________________________________________
     OpenSCAD mailing list
     To unsubscribe send an email to discuss-leave@lists.openscad.org


 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email todiscuss-leave@lists.openscad.org
 -- 
 Cheers, Ken
 bats059@gmail.com
 https://vk7krj.com
 https://vk7krj.com/running.html
 ----------------------------------------
 A baby can be defined as an ego with a noise at one end and a smell at the other.
 Your job as parents is to teach them to control all three.
 My job as a grandad is to tell you how you are doing it all wrong!

 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

Thanks Sanjeev- but after much googling, I can't find the dependencies file anywhere- could you point me to where I can find it please? On 2023-06-08 18:04, Sanjeev Prabhakar wrote: > Please download the latest dependencies file > I did some changes in that but don't exactly remember, what it was > > On Thu, 8 Jun, 2023, 1:28 pm Ken, <bats059@gmail.com> wrote: > > Sanjeev, I found this very interesting so I tried to run it my > system and it throws up multiple errors to do with the library > file, dependencies.scad. > > My dependencies.scad is dated October 2022, I'm running 2023.04.19 > (git 21e66f197). Any ideas on what the problem might be? > > On 2023-06-08 02:36, Sanjeev Prabhakar wrote: >> refer to the file attached >> added some explanation >> this is quite interesting >> Screenshot 2023-06-07 at 10.01.40 PM.png >> >> >> >> On Thu, 1 Jun 2023 at 17:11, Rogier Wolff >> <R.E.Wolff@bitwizard.nl> wrote: >> >> On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote: >> > It will look better if the step size evenly divides the >> range, but if you >> > really want to use a stepsize that does not, add >> closed=true to the >> > path_sweep call in order to close the shape. That will >> eliminate the gap. >> >> > > If step is set to 0.003, there's a gap in the figure.  >> 0.002 and 0.001 go >> > > back to no gap.  That's all I tried.  The difference is >> that 0.003 doesn't >> > > fit evenly into 1 so the for loop needs to be adjusted to >> compensate. >> >> If you start out with: >> >> numsteps = 200; >> step = 1/numsteps; >> >> it'll be obvious if you put in a non-integer. >> >>         Roger. >> >> -- >> ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ >> <https://www.BitWizard.nl/> ** +31-15-2049110 ** >> **    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: >> 27239233    ** >> f equals m times a. When your f is steady, and your m is >> going down >> your a is going up.  -- Chris Hadfield about flying up the >> space shuttle. >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email todiscuss-leave@lists.openscad.org > > -- > Cheers, Ken > bats059@gmail.com > https://vk7krj.com > https://vk7krj.com/running.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a smell at the other. > Your job as parents is to teach them to control all three. > My job as a grandad is to tell you how you are doing it all wrong! > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org -- Cheers, Ken bats059@gmail.com https://vk7krj.com https://vk7krj.com/running.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Your job as parents is to teach them to control all three. My job as a grandad is to tell you how you are doing it all wrong!
SP
Sanjeev Prabhakar
Thu, Jun 8, 2023 10:14 AM

Please find attached

On Thu, 8 Jun 2023, 15:36 Ken, bats059@gmail.com wrote:

Thanks Sanjeev- but after much googling, I can't find the dependencies
file anywhere- could you point me to where I can find it please?

On 2023-06-08 18:04, Sanjeev Prabhakar wrote:

Please download the latest dependencies file
I did some changes in that but don't exactly remember, what it was

On Thu, 8 Jun, 2023, 1:28 pm Ken, bats059@gmail.com wrote:

Sanjeev, I found this very interesting so I tried to run it my system and
it throws up multiple errors to do with the library file, dependencies.scad.

My dependencies.scad is dated October 2022, I'm running 2023.04.19 (git
21e66f197). Any ideas on what the problem might be?

On 2023-06-08 02:36, Sanjeev Prabhakar wrote:

refer to the file attached
added some explanation
this is quite interesting
[image: Screenshot 2023-06-07 at 10.01.40 PM.png]

On Thu, 1 Jun 2023 at 17:11, Rogier Wolff R.E.Wolff@bitwizard.nl wrote:

On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote:

It will look better if the step size evenly divides the range, but if

you

really want to use a stepsize that does not, add closed=true to the
path_sweep call in order to close the shape.  That will eliminate the

gap.

If step is set to 0.003, there's a gap in the figure.  0.002 and

0.001 go

back to no gap.  That's all I tried.  The difference is that 0.003

doesn't

fit evenly into 1 so the for loop needs to be adjusted to compensate.

If you start out with:

numsteps = 200;
step = 1/numsteps;

it'll be obvious if you put in a non-integer.

     Roger.

--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ **
+31-15-2049110 **
**    Delftechpark 11 2628 XJ  Delft, The Netherlands.  KVK: 27239233
**
f equals m times a. When your f is steady, and your m is going down
your a is going up.  -- Chris Hadfield about flying up the space shuttle.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

--
Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Please find attached On Thu, 8 Jun 2023, 15:36 Ken, <bats059@gmail.com> wrote: > Thanks Sanjeev- but after much googling, I can't find the dependencies > file anywhere- could you point me to where I can find it please? > > On 2023-06-08 18:04, Sanjeev Prabhakar wrote: > > Please download the latest dependencies file > I did some changes in that but don't exactly remember, what it was > > On Thu, 8 Jun, 2023, 1:28 pm Ken, <bats059@gmail.com> wrote: > >> Sanjeev, I found this very interesting so I tried to run it my system and >> it throws up multiple errors to do with the library file, dependencies.scad. >> >> My dependencies.scad is dated October 2022, I'm running 2023.04.19 (git >> 21e66f197). Any ideas on what the problem might be? >> >> On 2023-06-08 02:36, Sanjeev Prabhakar wrote: >> >> refer to the file attached >> added some explanation >> this is quite interesting >> [image: Screenshot 2023-06-07 at 10.01.40 PM.png] >> >> >> >> On Thu, 1 Jun 2023 at 17:11, Rogier Wolff <R.E.Wolff@bitwizard.nl> wrote: >> >>> On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano wrote: >>> > It will look better if the step size evenly divides the range, but if >>> you >>> > really want to use a stepsize that does not, add closed=true to the >>> > path_sweep call in order to close the shape. That will eliminate the >>> gap. >>> >>> > > If step is set to 0.003, there's a gap in the figure. 0.002 and >>> 0.001 go >>> > > back to no gap. That's all I tried. The difference is that 0.003 >>> doesn't >>> > > fit evenly into 1 so the for loop needs to be adjusted to compensate. >>> >>> If you start out with: >>> >>> numsteps = 200; >>> step = 1/numsteps; >>> >>> it'll be obvious if you put in a non-integer. >>> >>> Roger. >>> >>> -- >>> ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** >>> +31-15-2049110 ** >>> ** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 >>> ** >>> f equals m times a. When your f is steady, and your m is going down >>> your a is going up. -- Chris Hadfield about flying up the space shuttle. >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >> >> -- >> Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html >> ---------------------------------------- >> A baby can be defined as an ego with a noise at one end and a smell at the other. >> Your job as parents is to teach them to control all three. >> My job as a grandad is to tell you how you are doing it all wrong! >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > -- > Cheers, Kenbats059@gmail.comhttps://vk7krj.comhttps://vk7krj.com/running.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a smell at the other. > Your job as parents is to teach them to control all three. > My job as a grandad is to tell you how you are doing it all wrong! > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
K
Ken
Thu, Jun 8, 2023 10:20 AM

That fixed it- thanks Sanjeev.

On 2023-06-08 20:14, Sanjeev Prabhakar wrote:

Please find attached

On Thu, 8 Jun 2023, 15:36 Ken, bats059@gmail.com wrote:

 Thanks Sanjeev- but after much googling, I can't find the
 dependencies file anywhere- could you point me to where I can find
 it please?

 On 2023-06-08 18:04, Sanjeev Prabhakar wrote:
 Please download the latest dependencies file
 I did some changes in that but don't exactly remember, what it was

 On Thu, 8 Jun, 2023, 1:28 pm Ken, <bats059@gmail.com> wrote:

     Sanjeev, I found this very interesting so I tried to run it
     my system and it throws up multiple errors to do with the
     library file, dependencies.scad.

     My dependencies.scad is dated October 2022, I'm running
     2023.04.19 (git 21e66f197). Any ideas on what the problem
     might be?

     On 2023-06-08 02:36, Sanjeev Prabhakar wrote:
     refer to the file attached
     added some explanation
     this is quite interesting
     Screenshot 2023-06-07 at 10.01.40 PM.png



     On Thu, 1 Jun 2023 at 17:11, Rogier Wolff
     <R.E.Wolff@bitwizard.nl> wrote:

         On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano
         wrote:

It will look better if the step size evenly divides

         the range, but if you

really want to use a stepsize that does not, add

         closed=true to the

path_sweep call in order to close the shape.  That

         will eliminate the gap.

If step is set to 0.003, there's a gap in the

         figure.  0.002 and 0.001 go

back to no gap.  That's all I tried.  The difference

         is that 0.003 doesn't

fit evenly into 1 so the for loop needs to be

         adjusted to compensate.

         If you start out with:

         numsteps = 200;
         step = 1/numsteps;

         it'll be obvious if you put in a non-integer.

                 Roger.

         -- 
         ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/
         <https://www.BitWizard.nl/> ** +31-15-2049110 **
         **    Delftechpark 11 2628 XJ  Delft, The Netherlands. 
         KVK: 27239233    **
         f equals m times a. When your f is steady, and your m is
         going down
         your a is going up.  -- Chris Hadfield about flying up
         the space shuttle.
         _______________________________________________
         OpenSCAD mailing list
         To unsubscribe send an email to
         discuss-leave@lists.openscad.org


     _______________________________________________
     OpenSCAD mailing list
     To unsubscribe send an email todiscuss-leave@lists.openscad.org
     -- 
     Cheers, Ken
     bats059@gmail.com
     https://vk7krj.com
     https://vk7krj.com/running.html
     ----------------------------------------
     A baby can be defined as an ego with a noise at one end and a smell at the other.
     Your job as parents is to teach them to control all three.
     My job as a grandad is to tell you how you are doing it all wrong!

     _______________________________________________
     OpenSCAD mailing list
     To unsubscribe send an email to discuss-leave@lists.openscad.org


 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email todiscuss-leave@lists.openscad.org
 -- 
 Cheers, Ken
 bats059@gmail.com
 https://vk7krj.com
 https://vk7krj.com/running.html
 ----------------------------------------
 A baby can be defined as an ego with a noise at one end and a smell at the other.
 Your job as parents is to teach them to control all three.
 My job as a grandad is to tell you how you are doing it all wrong!

 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email to discuss-leave@lists.openscad.org

OpenSCAD mailing list
To unsubscribe send an email todiscuss-leave@lists.openscad.org

--
Cheers, Ken
bats059@gmail.com
https://vk7krj.com
https://vk7krj.com/running.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Your job as parents is to teach them to control all three.
My job as a grandad is to tell you how you are doing it all wrong!

That fixed it- thanks Sanjeev. On 2023-06-08 20:14, Sanjeev Prabhakar wrote: > Please find attached > > On Thu, 8 Jun 2023, 15:36 Ken, <bats059@gmail.com> wrote: > > Thanks Sanjeev- but after much googling, I can't find the > dependencies file anywhere- could you point me to where I can find > it please? > > On 2023-06-08 18:04, Sanjeev Prabhakar wrote: >> Please download the latest dependencies file >> I did some changes in that but don't exactly remember, what it was >> >> On Thu, 8 Jun, 2023, 1:28 pm Ken, <bats059@gmail.com> wrote: >> >> Sanjeev, I found this very interesting so I tried to run it >> my system and it throws up multiple errors to do with the >> library file, dependencies.scad. >> >> My dependencies.scad is dated October 2022, I'm running >> 2023.04.19 (git 21e66f197). Any ideas on what the problem >> might be? >> >> On 2023-06-08 02:36, Sanjeev Prabhakar wrote: >>> refer to the file attached >>> added some explanation >>> this is quite interesting >>> Screenshot 2023-06-07 at 10.01.40 PM.png >>> >>> >>> >>> On Thu, 1 Jun 2023 at 17:11, Rogier Wolff >>> <R.E.Wolff@bitwizard.nl> wrote: >>> >>> On Wed, May 31, 2023 at 07:22:47AM -0400, Adrian Mariano >>> wrote: >>> > It will look better if the step size evenly divides >>> the range, but if you >>> > really want to use a stepsize that does not, add >>> closed=true to the >>> > path_sweep call in order to close the shape.  That >>> will eliminate the gap. >>> >>> > > If step is set to 0.003, there's a gap in the >>> figure.  0.002 and 0.001 go >>> > > back to no gap.  That's all I tried.  The difference >>> is that 0.003 doesn't >>> > > fit evenly into 1 so the for loop needs to be >>> adjusted to compensate. >>> >>> If you start out with: >>> >>> numsteps = 200; >>> step = 1/numsteps; >>> >>> it'll be obvious if you put in a non-integer. >>> >>>         Roger. >>> >>> -- >>> ** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ >>> <https://www.BitWizard.nl/> ** +31-15-2049110 ** >>> **    Delftechpark 11 2628 XJ  Delft, The Netherlands.  >>> KVK: 27239233    ** >>> f equals m times a. When your f is steady, and your m is >>> going down >>> your a is going up.  -- Chris Hadfield about flying up >>> the space shuttle. >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to >>> discuss-leave@lists.openscad.org >>> >>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email todiscuss-leave@lists.openscad.org >> >> -- >> Cheers, Ken >> bats059@gmail.com >> https://vk7krj.com >> https://vk7krj.com/running.html >> ---------------------------------------- >> A baby can be defined as an ego with a noise at one end and a smell at the other. >> Your job as parents is to teach them to control all three. >> My job as a grandad is to tell you how you are doing it all wrong! >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email todiscuss-leave@lists.openscad.org > > -- > Cheers, Ken > bats059@gmail.com > https://vk7krj.com > https://vk7krj.com/running.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a smell at the other. > Your job as parents is to teach them to control all three. > My job as a grandad is to tell you how you are doing it all wrong! > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org -- Cheers, Ken bats059@gmail.com https://vk7krj.com https://vk7krj.com/running.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Your job as parents is to teach them to control all three. My job as a grandad is to tell you how you are doing it all wrong!