discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

fillet

SP
Sanjeev Prabhakar
Fri, Oct 28, 2022 2:20 AM

I have written a function for creating a fillet between intersections of 2
solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work

I have written a function for creating a fillet between intersections of 2 solids. this works in most of the cases with few rules to follow. here is a scad file with intersection between 2 sphere. tested many cases and this works in most of the cases. I will explain this tomorrow you would need dependencies.scad to make this work
SP
Sanjeev Prabhakar
Fri, Oct 28, 2022 4:22 PM

sharing another example.
this is a little more complex and no dependencies required.

will post the jupyter notebook version on github page

On Fri, 28 Oct 2022 at 07:50, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I have written a function for creating a fillet between intersections of 2
solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work

sharing another example. this is a little more complex and no dependencies required. will post the jupyter notebook version on github page On Fri, 28 Oct 2022 at 07:50, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I have written a function for creating a fillet between intersections of 2 > solids. > this works in most of the cases with few rules to follow. > > here is a scad file with intersection between 2 sphere. > > tested many cases and this works in most of the cases. > > I will explain this tomorrow > > you would need dependencies.scad to make this work >
I
IHC
Fri, Oct 28, 2022 4:54 PM

I cannot seem to get your code to run. There were multiple syntax errors in
dependencies.scad. I fixed one but I'm not good enough w/openscad to fix
this on line 1098:
[image: image.png]

On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I have written a function for creating a fillet between intersections of 2
solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work


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

I cannot seem to get your code to run. There were multiple syntax errors in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix this on line 1098: [image: image.png] On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I have written a function for creating a fillet between intersections of 2 > solids. > this works in most of the cases with few rules to follow. > > here is a scad file with intersection between 2 sphere. > > tested many cases and this works in most of the cases. > > I will explain this tomorrow > > you would need dependencies.scad to make this work > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
LM
Leonard Martin Struttmann
Fri, Oct 28, 2022 5:58 PM

I also have multiple problems running your code.  It appears that you are
using a version of OpenSCAD that allows the last equation of a "let" block
to have a trailing comma.  The latest released version, 2021.01, does not
allow that.

On Fri, Oct 28, 2022 at 12:47 PM IHC indianhomecooking@gmail.com wrote:

I cannot seem to get your code to run. There were multiple syntax errors
in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix
this on line 1098:
[image: image.png]

On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have written a function for creating a fillet between intersections of
2 solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work


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

I also have multiple problems running your code. It appears that you are using a version of OpenSCAD that allows the last equation of a "let" block to have a trailing comma. The latest released version, 2021.01, does not allow that. On Fri, Oct 28, 2022 at 12:47 PM IHC <indianhomecooking@gmail.com> wrote: > I cannot seem to get your code to run. There were multiple syntax errors > in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix > this on line 1098: > [image: image.png] > > > On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> I have written a function for creating a fillet between intersections of >> 2 solids. >> this works in most of the cases with few rules to follow. >> >> here is a scad file with intersection between 2 sphere. >> >> tested many cases and this works in most of the cases. >> >> I will explain this tomorrow >> >> you would need dependencies.scad to make this work >> _______________________________________________ >> 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 >
FH
Father Horton
Fri, Oct 28, 2022 6:17 PM

The second version worked fine for me.

The second version worked fine for me.
SP
Sanjeev Prabhakar
Sat, Oct 29, 2022 12:29 AM

I am using the development snap shot version
Please try that if possible

On Fri, 28 Oct, 2022, 11:29 pm Leonard Martin Struttmann, <
lenstruttmann@gmail.com> wrote:

I also have multiple problems running your code.  It appears that you are
using a version of OpenSCAD that allows the last equation of a "let" block
to have a trailing comma.  The latest released version, 2021.01, does not
allow that.

On Fri, Oct 28, 2022 at 12:47 PM IHC indianhomecooking@gmail.com wrote:

I cannot seem to get your code to run. There were multiple syntax errors
in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix
this on line 1098:
[image: image.png]

On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have written a function for creating a fillet between intersections of
2 solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work


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


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

I am using the development snap shot version Please try that if possible On Fri, 28 Oct, 2022, 11:29 pm Leonard Martin Struttmann, < lenstruttmann@gmail.com> wrote: > I also have multiple problems running your code. It appears that you are > using a version of OpenSCAD that allows the last equation of a "let" block > to have a trailing comma. The latest released version, 2021.01, does not > allow that. > > On Fri, Oct 28, 2022 at 12:47 PM IHC <indianhomecooking@gmail.com> wrote: > >> I cannot seem to get your code to run. There were multiple syntax errors >> in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix >> this on line 1098: >> [image: image.png] >> >> >> On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> I have written a function for creating a fillet between intersections of >>> 2 solids. >>> this works in most of the cases with few rules to follow. >>> >>> here is a scad file with intersection between 2 sphere. >>> >>> tested many cases and this works in most of the cases. >>> >>> I will explain this tomorrow >>> >>> you would need dependencies.scad to make this work >>> _______________________________________________ >>> 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 >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
SP
Sanjeev Prabhakar
Sat, Oct 29, 2022 12:32 AM

You need to remove comma at the end of let statement

Please try the last file I sent
There is no need of dependencies in that

On Fri, 28 Oct, 2022, 11:17 pm IHC, indianhomecooking@gmail.com wrote:

I cannot seem to get your code to run. There were multiple syntax errors
in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix
this on line 1098:
[image: image.png]

On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have written a function for creating a fillet between intersections of
2 solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work


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

You need to remove comma at the end of let statement Please try the last file I sent There is no need of dependencies in that On Fri, 28 Oct, 2022, 11:17 pm IHC, <indianhomecooking@gmail.com> wrote: > I cannot seem to get your code to run. There were multiple syntax errors > in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix > this on line 1098: > [image: image.png] > > > On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> I have written a function for creating a fillet between intersections of >> 2 solids. >> this works in most of the cases with few rules to follow. >> >> here is a scad file with intersection between 2 sphere. >> >> tested many cases and this works in most of the cases. >> >> I will explain this tomorrow >> >> you would need dependencies.scad to make this work >> _______________________________________________ >> 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 >
SP
Sanjeev Prabhakar
Sat, Oct 29, 2022 12:53 AM

I have removed all the unnecessary functions from dependencies in
'dependencies2.scad'

only 5 modules are required to render all the files.
attached here, please check.

in the code you need to replace dependencies with dependencies2

On Fri, 28 Oct 2022 at 23:17, IHC indianhomecooking@gmail.com wrote:

I cannot seem to get your code to run. There were multiple syntax errors
in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix
this on line 1098:
[image: image.png]

On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have written a function for creating a fillet between intersections of
2 solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work


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

I have removed all the unnecessary functions from dependencies in 'dependencies2.scad' only 5 modules are required to render all the files. attached here, please check. in the code you need to replace dependencies with dependencies2 On Fri, 28 Oct 2022 at 23:17, IHC <indianhomecooking@gmail.com> wrote: > I cannot seem to get your code to run. There were multiple syntax errors > in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix > this on line 1098: > [image: image.png] > > > On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar < > sprabhakar2006@gmail.com> wrote: > >> I have written a function for creating a fillet between intersections of >> 2 solids. >> this works in most of the cases with few rules to follow. >> >> here is a scad file with intersection between 2 sphere. >> >> tested many cases and this works in most of the cases. >> >> I will explain this tomorrow >> >> you would need dependencies.scad to make this work >> _______________________________________________ >> 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 >
SP
Sanjeev Prabhakar
Sat, Oct 29, 2022 5:23 AM

explanation of the process of creating fillet:

please refer attached scad file and also use dependencies2.scad

refer bigger sphere as sp1
refer smaller sphere as sp2

Now:
"Blue" points are the intersection points between sp1 and sp2
"magenta" line at the normal drawn from the "Blue" points to sp1 surface
"green" line arc is drawn with axis of rotation "navy blue" line to find
the intersection point "green" with sp1. radius of the arc is the radius of
the fillet
"cyan" line arc drawn with axis of rotation "navy blue" line to find the
intersection point "cyan" with sp2. radius of the arc is the radius of the
fillet
with 3 points "cyan", "blue" and "green" arcs are drawn to form fillets

On Sat, 29 Oct 2022 at 06:23, Sanjeev Prabhakar sprabhakar2006@gmail.com
wrote:

I have removed all the unnecessary functions from dependencies in
'dependencies2.scad'

only 5 modules are required to render all the files.
attached here, please check.

in the code you need to replace dependencies with dependencies2

On Fri, 28 Oct 2022 at 23:17, IHC indianhomecooking@gmail.com wrote:

I cannot seem to get your code to run. There were multiple syntax errors
in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix
this on line 1098:
[image: image.png]

On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar <
sprabhakar2006@gmail.com> wrote:

I have written a function for creating a fillet between intersections of
2 solids.
this works in most of the cases with few rules to follow.

here is a scad file with intersection between 2 sphere.

tested many cases and this works in most of the cases.

I will explain this tomorrow

you would need dependencies.scad to make this work


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

explanation of the process of creating fillet: please refer attached scad file and also use dependencies2.scad refer bigger sphere as sp1 refer smaller sphere as sp2 Now: "Blue" points are the intersection points between sp1 and sp2 "magenta" line at the normal drawn from the "Blue" points to sp1 surface "green" line arc is drawn with axis of rotation "navy blue" line to find the intersection point "green" with sp1. radius of the arc is the radius of the fillet "cyan" line arc drawn with axis of rotation "navy blue" line to find the intersection point "cyan" with sp2. radius of the arc is the radius of the fillet with 3 points "cyan", "blue" and "green" arcs are drawn to form fillets On Sat, 29 Oct 2022 at 06:23, Sanjeev Prabhakar <sprabhakar2006@gmail.com> wrote: > I have removed all the unnecessary functions from dependencies in > 'dependencies2.scad' > > only 5 modules are required to render all the files. > attached here, please check. > > in the code you need to replace dependencies with dependencies2 > > > On Fri, 28 Oct 2022 at 23:17, IHC <indianhomecooking@gmail.com> wrote: > >> I cannot seem to get your code to run. There were multiple syntax errors >> in dependencies.scad. I fixed one but I'm not good enough w/openscad to fix >> this on line 1098: >> [image: image.png] >> >> >> On Thu, Oct 27, 2022 at 7:21 PM Sanjeev Prabhakar < >> sprabhakar2006@gmail.com> wrote: >> >>> I have written a function for creating a fillet between intersections of >>> 2 solids. >>> this works in most of the cases with few rules to follow. >>> >>> here is a scad file with intersection between 2 sphere. >>> >>> tested many cases and this works in most of the cases. >>> >>> I will explain this tomorrow >>> >>> you would need dependencies.scad to make this work >>> _______________________________________________ >>> 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 >> >
SP
Sanjeev Prabhakar
Sat, Oct 29, 2022 6:28 AM

consider this one

consider this one