discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Fwd: Re: rounding all edges of a box?

RW
Raymond West
Tue, Dec 27, 2022 2:22 PM

Hi Ken,

If starting from an existing shape, you will need to make it smaller if
you wish to round edges using Minkowski,  which is a pita for something
other than a basic box say. In your example, then replacing your last
bit of script, so that you Minkowski everything, will get probably what
you want, other than having to alter the dimensions!

The module rounder(r) that I added (not used at all in your existing
code), is what I generally use for rounding off edges of existing
objects. You have to translate and rotate and difference rounder over
each edge that you wish to round off. That also can be tedious, but it
gives selective rounding of edges, different radii, etc. without having
to recalculate the original thickness etc. For external corners, apply a
similar object made from a cube and four spheres.

With your particular tray, it may have been easier to draw the
partitions in 2d, and extrude, which would reduce the number of edges to
be rounded, but at the end of the day, whatever works for you will be
good enough. Sometimes, sandpaper is your friend, if only a few items
being produced..

On 27/12/2022 12:41, Carsten Arnholm wrote:

On 27.12.2022 10:43, Ken wrote:

Is it even possible to round the internal corners using minkowski?

Minkowski operates on a convex object. If you mean filetting concave
edges, the answer is no, but you can do it in a round-about way

  1. create a cube enclosing the object completely

  2. Subtract your model from the cube, creating an internal void where
    the original model concave edges becoming convex.

  3. Run Minkowski with a sphere on the difference

  4. Subtract the result of Minkowski from the original object.

The result is rounded concave (internal)  edges

Carsten Arnholm


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

Hi Ken, If starting from an existing shape, you will need to make it smaller if you wish to round edges using Minkowski,  which is a pita for something other than a basic box say. In your example, then replacing your last bit of script, so that you Minkowski everything, will get probably what you want, other than having to alter the dimensions! The module rounder(r) that I added (not used at all in your existing code), is what I generally use for rounding off edges of existing objects. You have to translate and rotate and difference rounder over each edge that you wish to round off. That also can be tedious, but it gives selective rounding of edges, different radii, etc. without having to recalculate the original thickness etc. For external corners, apply a similar object made from a cube and four spheres. With your particular tray, it may have been easier to draw the partitions in 2d, and extrude, which would reduce the number of edges to be rounded, but at the end of the day, whatever works for you will be good enough. Sometimes, sandpaper is your friend, if only a few items being produced.. On 27/12/2022 12:41, Carsten Arnholm wrote: > On 27.12.2022 10:43, Ken wrote: >> Is it even possible to round the internal corners using minkowski? > > Minkowski operates on a convex object. If you mean filetting concave > edges, the answer is no, but you can do it in a round-about way > > 1. create a cube enclosing the object completely > > 2. Subtract your model from the cube, creating an internal void where > the original model concave edges becoming convex. > > 3. Run Minkowski with a sphere on the difference > > 4. Subtract the result of Minkowski from the original object. > > The result is rounded concave (internal)  edges > > Carsten Arnholm > > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
K
Ken
Wed, Dec 28, 2022 10:48 AM

Thank you for your suggestions gentlemen.

I initially tried roundedcube, Roger's suggestion, that mostly worked
but left some edges un-rounded. But is now in my openscad library for
future use, thanks Roger.

I then tried Raymond's suggestion- Ie., the correct way of using
minkowski- thanks Raymond- that worked a charm on all the edges I wanted
rounded- at least, it did when I changed my standard $fn from 128 back
to 32- 128 just hung openscad, needing task manager to shut it down
after waiting several hours for it to complete!

It leaves me with a new problem now- when I try to difference out the
text, it appears to take out large parts of the box as well, meaning it
won't f6 any more. If I take out the comments around the outer
difference, it will f5 but not f6. In my simplistic way of seeing it, I
thought it should just difference out the text after the minkowski
finished- apparently not. This is the code in question-

/difference()
//{
minkowski()
{
difference()
{
 box();
 Divider_1();
 Divider_2();
 Divider_3();
 Finger_cutout();
}
sphere(Wall/3);
}
//Text();
//}

--

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

A baby can be defined as an ego with a noise at one end and a smell at the other.
Our job as parents is to teach them to control all three.

Thank you for your suggestions gentlemen. I initially tried roundedcube, Roger's suggestion, that mostly worked but left some edges un-rounded. But is now in my openscad library for future use, thanks Roger. I then tried Raymond's suggestion- Ie., the correct way of using minkowski- thanks Raymond- that worked a charm on all the edges I wanted rounded- at least, it did when I changed my standard $fn from 128 back to 32- 128 just hung openscad, needing task manager to shut it down after waiting several hours for it to complete! It leaves me with a new problem now- when I try to difference out the text, it appears to take out large parts of the box as well, meaning it won't f6 any more. If I take out the comments around the outer difference, it will f5 but not f6. In my simplistic way of seeing it, I thought it should just difference out the text after the minkowski finished- apparently not. This is the code in question- /difference() //{ minkowski() { difference() {  box();  Divider_1();  Divider_2();  Divider_3();  Finger_cutout(); } sphere(Wall/3); } //Text(); //} -- Cheers, Ken bats059@gmail.com https://vk7krj.com/running.html https://sstv.vk7krj.com/all_bands.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Our job as parents is to teach them to control all three.
NH
nop head
Wed, Dec 28, 2022 11:21 AM

You probably need to set convexity in the minkowski calls.

On Wed, 28 Dec 2022 at 10:49, Ken bats059@gmail.com wrote:

Thank you for your suggestions gentlemen.

I initially tried roundedcube, Roger's suggestion, that mostly worked
but left some edges un-rounded. But is now in my openscad library for
future use, thanks Roger.

I then tried Raymond's suggestion- Ie., the correct way of using
minkowski- thanks Raymond- that worked a charm on all the edges I wanted
rounded- at least, it did when I changed my standard $fn from 128 back
to 32- 128 just hung openscad, needing task manager to shut it down
after waiting several hours for it to complete!

It leaves me with a new problem now- when I try to difference out the
text, it appears to take out large parts of the box as well, meaning it
won't f6 any more. If I take out the comments around the outer
difference, it will f5 but not f6. In my simplistic way of seeing it, I
thought it should just difference out the text after the minkowski
finished- apparently not. This is the code in question-

/difference()
//{
minkowski()
{
difference()
{
box();
Divider_1();
Divider_2();
Divider_3();
Finger_cutout();
}
sphere(Wall/3);
}
//Text();
//}

--

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

A baby can be defined as an ego with a noise at one end and a smell at the
other.
Our job as parents is to teach them to control all three.


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

You probably need to set convexity in the minkowski calls. On Wed, 28 Dec 2022 at 10:49, Ken <bats059@gmail.com> wrote: > Thank you for your suggestions gentlemen. > > I initially tried roundedcube, Roger's suggestion, that mostly worked > but left some edges un-rounded. But is now in my openscad library for > future use, thanks Roger. > > I then tried Raymond's suggestion- Ie., the correct way of using > minkowski- thanks Raymond- that worked a charm on all the edges I wanted > rounded- at least, it did when I changed my standard $fn from 128 back > to 32- 128 just hung openscad, needing task manager to shut it down > after waiting several hours for it to complete! > > It leaves me with a new problem now- when I try to difference out the > text, it appears to take out large parts of the box as well, meaning it > won't f6 any more. If I take out the comments around the outer > difference, it will f5 but not f6. In my simplistic way of seeing it, I > thought it should just difference out the text after the minkowski > finished- apparently not. This is the code in question- > > /difference() > //{ > minkowski() > { > difference() > { > box(); > Divider_1(); > Divider_2(); > Divider_3(); > Finger_cutout(); > } > sphere(Wall/3); > } > //Text(); > //} > > > -- > > Cheers, Ken > bats059@gmail.com > https://vk7krj.com/running.html > https://sstv.vk7krj.com/all_bands.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a smell at the > other. > Our job as parents is to teach them to control all three. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
K
Ken
Wed, Dec 28, 2022 11:44 AM

Thanks Nop head, that fixed it nicely!

On 2022-12-28 22:21, nop head wrote:

You probably need to set convexity in the minkowski calls.

On Wed, 28 Dec 2022 at 10:49, Ken bats059@gmail.com wrote:

 Thank you for your suggestions gentlemen.

 I initially tried roundedcube, Roger's suggestion, that mostly worked
 but left some edges un-rounded. But is now in my openscad library for
 future use, thanks Roger.

 I then tried Raymond's suggestion- Ie., the correct way of using
 minkowski- thanks Raymond- that worked a charm on all the edges I
 wanted
 rounded- at least, it did when I changed my standard $fn from 128
 back
 to 32- 128 just hung openscad, needing task manager to shut it down
 after waiting several hours for it to complete!

 It leaves me with a new problem now- when I try to difference out the
 text, it appears to take out large parts of the box as well,
 meaning it
 won't f6 any more. If I take out the comments around the outer
 difference, it will f5 but not f6. In my simplistic way of seeing
 it, I
 thought it should just difference out the text after the minkowski
 finished- apparently not. This is the code in question-

 /difference()
 //{
 minkowski()
 {
 difference()
 {
   box();
   Divider_1();
   Divider_2();
   Divider_3();
   Finger_cutout();
 }
 sphere(Wall/3);
 }
 //Text();
 //}


 -- 

 Cheers, Ken
 bats059@gmail.com
 https://vk7krj.com/running.html
 https://sstv.vk7krj.com/all_bands.html
 ----------------------------------------
 A baby can be defined as an ego with a noise at one end and a
 smell at the other.
 Our job as parents is to teach them to control all three.
 _______________________________________________
 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/running.html
https://sstv.vk7krj.com/all_bands.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Our job as parents is to teach them to control all three.

Thanks Nop head, that fixed it nicely! On 2022-12-28 22:21, nop head wrote: > You probably need to set convexity in the minkowski calls. > > On Wed, 28 Dec 2022 at 10:49, Ken <bats059@gmail.com> wrote: > > Thank you for your suggestions gentlemen. > > I initially tried roundedcube, Roger's suggestion, that mostly worked > but left some edges un-rounded. But is now in my openscad library for > future use, thanks Roger. > > I then tried Raymond's suggestion- Ie., the correct way of using > minkowski- thanks Raymond- that worked a charm on all the edges I > wanted > rounded- at least, it did when I changed my standard $fn from 128 > back > to 32- 128 just hung openscad, needing task manager to shut it down > after waiting several hours for it to complete! > > It leaves me with a new problem now- when I try to difference out the > text, it appears to take out large parts of the box as well, > meaning it > won't f6 any more. If I take out the comments around the outer > difference, it will f5 but not f6. In my simplistic way of seeing > it, I > thought it should just difference out the text after the minkowski > finished- apparently not. This is the code in question- > > /difference() > //{ > minkowski() > { > difference() > { >   box(); >   Divider_1(); >   Divider_2(); >   Divider_3(); >   Finger_cutout(); > } > sphere(Wall/3); > } > //Text(); > //} > > > -- > > Cheers, Ken > bats059@gmail.com > https://vk7krj.com/running.html > https://sstv.vk7krj.com/all_bands.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a > smell at the other. > Our job as parents is to teach them to control all three. > _______________________________________________ > 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/running.html https://sstv.vk7krj.com/all_bands.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Our job as parents is to teach them to control all three.
SP
Sanjeev Prabhakar
Wed, Dec 28, 2022 1:40 PM

I have also given it a try

for details you can check the ipynb file
[image: Screenshot 2022-12-28 at 7.06.04 PM.png]

On Wed, 28 Dec 2022 at 17:15, Ken bats059@gmail.com wrote:

Thanks Nop head, that fixed it nicely!
On 2022-12-28 22:21, nop head wrote:

You probably need to set convexity in the minkowski calls.

On Wed, 28 Dec 2022 at 10:49, Ken bats059@gmail.com wrote:

Thank you for your suggestions gentlemen.

I initially tried roundedcube, Roger's suggestion, that mostly worked
but left some edges un-rounded. But is now in my openscad library for
future use, thanks Roger.

I then tried Raymond's suggestion- Ie., the correct way of using
minkowski- thanks Raymond- that worked a charm on all the edges I wanted
rounded- at least, it did when I changed my standard $fn from 128 back
to 32- 128 just hung openscad, needing task manager to shut it down
after waiting several hours for it to complete!

It leaves me with a new problem now- when I try to difference out the
text, it appears to take out large parts of the box as well, meaning it
won't f6 any more. If I take out the comments around the outer
difference, it will f5 but not f6. In my simplistic way of seeing it, I
thought it should just difference out the text after the minkowski
finished- apparently not. This is the code in question-

/difference()
//{
minkowski()
{
difference()
{
box();
Divider_1();
Divider_2();
Divider_3();
Finger_cutout();
}
sphere(Wall/3);
}
//Text();
//}

--

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

A baby can be defined as an ego with a noise at one end and a smell at
the other.
Our job as parents is to teach them to control all three.


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.com/running.htmlhttps://sstv.vk7krj.com/all_bands.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Our job as parents is to teach them to control all three.


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

I have also given it a try for details you can check the ipynb file [image: Screenshot 2022-12-28 at 7.06.04 PM.png] On Wed, 28 Dec 2022 at 17:15, Ken <bats059@gmail.com> wrote: > Thanks Nop head, that fixed it nicely! > On 2022-12-28 22:21, nop head wrote: > > You probably need to set convexity in the minkowski calls. > > On Wed, 28 Dec 2022 at 10:49, Ken <bats059@gmail.com> wrote: > >> Thank you for your suggestions gentlemen. >> >> I initially tried roundedcube, Roger's suggestion, that mostly worked >> but left some edges un-rounded. But is now in my openscad library for >> future use, thanks Roger. >> >> I then tried Raymond's suggestion- Ie., the correct way of using >> minkowski- thanks Raymond- that worked a charm on all the edges I wanted >> rounded- at least, it did when I changed my standard $fn from 128 back >> to 32- 128 just hung openscad, needing task manager to shut it down >> after waiting several hours for it to complete! >> >> It leaves me with a new problem now- when I try to difference out the >> text, it appears to take out large parts of the box as well, meaning it >> won't f6 any more. If I take out the comments around the outer >> difference, it will f5 but not f6. In my simplistic way of seeing it, I >> thought it should just difference out the text after the minkowski >> finished- apparently not. This is the code in question- >> >> /difference() >> //{ >> minkowski() >> { >> difference() >> { >> box(); >> Divider_1(); >> Divider_2(); >> Divider_3(); >> Finger_cutout(); >> } >> sphere(Wall/3); >> } >> //Text(); >> //} >> >> >> -- >> >> Cheers, Ken >> bats059@gmail.com >> https://vk7krj.com/running.html >> https://sstv.vk7krj.com/all_bands.html >> ---------------------------------------- >> A baby can be defined as an ego with a noise at one end and a smell at >> the other. >> Our job as parents is to teach them to control all three. >> _______________________________________________ >> 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.com/running.htmlhttps://sstv.vk7krj.com/all_bands.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a smell at the other. > Our job as parents is to teach them to control all three. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
RW
Raymond West
Wed, Dec 28, 2022 2:13 PM

Interesting. can you easily round the sharp edges of the semicircular
recesses?

The snag is, when you import into openscad, you do not get anything that
you can readily edit in openscad. FreeCad does similar, it produces
multmatrix iirc, which is just as tricky. Freecad is quite useful for
applying fillets, chamfers and so on, but is more or less a dead end if
you want to edit the result in openscad.

Best wishes,

Ray

On 28/12/2022 13:40, Sanjeev Prabhakar wrote:

I have also given it a try

for details you can check the ipynb file
Screenshot 2022-12-28 at 7.06.04 PM.png

On Wed, 28 Dec 2022 at 17:15, Ken bats059@gmail.com wrote:

 Thanks Nop head, that fixed it nicely!

 On 2022-12-28 22:21, nop head wrote:
 You probably need to set convexity in the minkowski calls.

 On Wed, 28 Dec 2022 at 10:49, Ken <bats059@gmail.com> wrote:

     Thank you for your suggestions gentlemen.

     I initially tried roundedcube, Roger's suggestion, that
     mostly worked
     but left some edges un-rounded. But is now in my openscad
     library for
     future use, thanks Roger.

     I then tried Raymond's suggestion- Ie., the correct way of using
     minkowski- thanks Raymond- that worked a charm on all the
     edges I wanted
     rounded- at least, it did when I changed my standard $fn from
     128 back
     to 32- 128 just hung openscad, needing task manager to shut
     it down
     after waiting several hours for it to complete!

     It leaves me with a new problem now- when I try to difference
     out the
     text, it appears to take out large parts of the box as well,
     meaning it
     won't f6 any more. If I take out the comments around the outer
     difference, it will f5 but not f6. In my simplistic way of
     seeing it, I
     thought it should just difference out the text after the
     minkowski
     finished- apparently not. This is the code in question-

     /difference()
     //{
     minkowski()
     {
     difference()
     {
       box();
       Divider_1();
       Divider_2();
       Divider_3();
       Finger_cutout();
     }
     sphere(Wall/3);
     }
     //Text();
     //}


     -- 

     Cheers, Ken
     bats059@gmail.com
     https://vk7krj.com/running.html
     https://sstv.vk7krj.com/all_bands.html
     ----------------------------------------
     A baby can be defined as an ego with a noise at one end and a
     smell at the other.
     Our job as parents is to teach them to control all three.
     _______________________________________________
     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/running.html
 https://sstv.vk7krj.com/all_bands.html
 ----------------------------------------
 A baby can be defined as an ego with a noise at one end and a smell at the other.
 Our job as parents is to teach them to control all three.

 _______________________________________________
 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

Interesting. can you easily round the sharp edges of the semicircular recesses? The snag is, when you import into openscad, you do not get anything that you can readily edit in openscad. FreeCad does similar, it produces multmatrix iirc, which is just as tricky. Freecad is quite useful for applying fillets, chamfers and so on, but is more or less a dead end if you want to edit the result in openscad. Best wishes, Ray On 28/12/2022 13:40, Sanjeev Prabhakar wrote: > I have also given it a try > > for details you can check the ipynb file > Screenshot 2022-12-28 at 7.06.04 PM.png > > On Wed, 28 Dec 2022 at 17:15, Ken <bats059@gmail.com> wrote: > > Thanks Nop head, that fixed it nicely! > > On 2022-12-28 22:21, nop head wrote: >> You probably need to set convexity in the minkowski calls. >> >> On Wed, 28 Dec 2022 at 10:49, Ken <bats059@gmail.com> wrote: >> >> Thank you for your suggestions gentlemen. >> >> I initially tried roundedcube, Roger's suggestion, that >> mostly worked >> but left some edges un-rounded. But is now in my openscad >> library for >> future use, thanks Roger. >> >> I then tried Raymond's suggestion- Ie., the correct way of using >> minkowski- thanks Raymond- that worked a charm on all the >> edges I wanted >> rounded- at least, it did when I changed my standard $fn from >> 128 back >> to 32- 128 just hung openscad, needing task manager to shut >> it down >> after waiting several hours for it to complete! >> >> It leaves me with a new problem now- when I try to difference >> out the >> text, it appears to take out large parts of the box as well, >> meaning it >> won't f6 any more. If I take out the comments around the outer >> difference, it will f5 but not f6. In my simplistic way of >> seeing it, I >> thought it should just difference out the text after the >> minkowski >> finished- apparently not. This is the code in question- >> >> /difference() >> //{ >> minkowski() >> { >> difference() >> { >>   box(); >>   Divider_1(); >>   Divider_2(); >>   Divider_3(); >>   Finger_cutout(); >> } >> sphere(Wall/3); >> } >> //Text(); >> //} >> >> >> -- >> >> Cheers, Ken >> bats059@gmail.com >> https://vk7krj.com/running.html >> https://sstv.vk7krj.com/all_bands.html >> ---------------------------------------- >> A baby can be defined as an ego with a noise at one end and a >> smell at the other. >> Our job as parents is to teach them to control all three. >> _______________________________________________ >> 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/running.html > https://sstv.vk7krj.com/all_bands.html > ---------------------------------------- > A baby can be defined as an ego with a noise at one end and a smell at the other. > Our job as parents is to teach them to control all three. > > _______________________________________________ > 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
SP
Sanjeev Prabhakar
Wed, Dec 28, 2022 2:25 PM

Rounding semi-circular sharp edges should be easy.

You need to just cut a fillet there.

You are right it would be difficult to edit this in openscad if not
impossible.

If you can work on the JN , it will be very easy.

Unfortunately it is not that straight forward to get started on the same
and involve a series of steps.

Regards
Sanjeev

On Wed, 28 Dec, 2022, 7:44 pm Raymond West, raywest@raywest.com wrote:

Interesting. can you easily round the sharp edges of the semicircular
recesses?

The snag is, when you import into openscad, you do not get anything that
you can readily edit in openscad. FreeCad does similar, it produces
multmatrix iirc, which is just as tricky. Freecad is quite useful for
applying fillets, chamfers and so on, but is more or less a dead end if you
want to edit the result in openscad.

Best wishes,

Ray

On 28/12/2022 13:40, Sanjeev Prabhakar wrote:

I have also given it a try

for details you can check the ipynb file
[image: Screenshot 2022-12-28 at 7.06.04 PM.png]

On Wed, 28 Dec 2022 at 17:15, Ken bats059@gmail.com wrote:

Thanks Nop head, that fixed it nicely!
On 2022-12-28 22:21, nop head wrote:

You probably need to set convexity in the minkowski calls.

On Wed, 28 Dec 2022 at 10:49, Ken bats059@gmail.com wrote:

Thank you for your suggestions gentlemen.

I initially tried roundedcube, Roger's suggestion, that mostly worked
but left some edges un-rounded. But is now in my openscad library for
future use, thanks Roger.

I then tried Raymond's suggestion- Ie., the correct way of using
minkowski- thanks Raymond- that worked a charm on all the edges I wanted
rounded- at least, it did when I changed my standard $fn from 128 back
to 32- 128 just hung openscad, needing task manager to shut it down
after waiting several hours for it to complete!

It leaves me with a new problem now- when I try to difference out the
text, it appears to take out large parts of the box as well, meaning it
won't f6 any more. If I take out the comments around the outer
difference, it will f5 but not f6. In my simplistic way of seeing it, I
thought it should just difference out the text after the minkowski
finished- apparently not. This is the code in question-

/difference()
//{
minkowski()
{
difference()
{
box();
Divider_1();
Divider_2();
Divider_3();
Finger_cutout();
}
sphere(Wall/3);
}
//Text();
//}

--

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

A baby can be defined as an ego with a noise at one end and a smell at
the other.
Our job as parents is to teach them to control all three.


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.com/running.htmlhttps://sstv.vk7krj.com/all_bands.html

A baby can be defined as an ego with a noise at one end and a smell at the other.
Our job as parents is to teach them to control all three.


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

Rounding semi-circular sharp edges should be easy. You need to just cut a fillet there. You are right it would be difficult to edit this in openscad if not impossible. If you can work on the JN , it will be very easy. Unfortunately it is not that straight forward to get started on the same and involve a series of steps. Regards Sanjeev On Wed, 28 Dec, 2022, 7:44 pm Raymond West, <raywest@raywest.com> wrote: > Interesting. can you easily round the sharp edges of the semicircular > recesses? > > The snag is, when you import into openscad, you do not get anything that > you can readily edit in openscad. FreeCad does similar, it produces > multmatrix iirc, which is just as tricky. Freecad is quite useful for > applying fillets, chamfers and so on, but is more or less a dead end if you > want to edit the result in openscad. > > Best wishes, > > Ray > > > On 28/12/2022 13:40, Sanjeev Prabhakar wrote: > > I have also given it a try > > for details you can check the ipynb file > [image: Screenshot 2022-12-28 at 7.06.04 PM.png] > > On Wed, 28 Dec 2022 at 17:15, Ken <bats059@gmail.com> wrote: > >> Thanks Nop head, that fixed it nicely! >> On 2022-12-28 22:21, nop head wrote: >> >> You probably need to set convexity in the minkowski calls. >> >> On Wed, 28 Dec 2022 at 10:49, Ken <bats059@gmail.com> wrote: >> >>> Thank you for your suggestions gentlemen. >>> >>> I initially tried roundedcube, Roger's suggestion, that mostly worked >>> but left some edges un-rounded. But is now in my openscad library for >>> future use, thanks Roger. >>> >>> I then tried Raymond's suggestion- Ie., the correct way of using >>> minkowski- thanks Raymond- that worked a charm on all the edges I wanted >>> rounded- at least, it did when I changed my standard $fn from 128 back >>> to 32- 128 just hung openscad, needing task manager to shut it down >>> after waiting several hours for it to complete! >>> >>> It leaves me with a new problem now- when I try to difference out the >>> text, it appears to take out large parts of the box as well, meaning it >>> won't f6 any more. If I take out the comments around the outer >>> difference, it will f5 but not f6. In my simplistic way of seeing it, I >>> thought it should just difference out the text after the minkowski >>> finished- apparently not. This is the code in question- >>> >>> /difference() >>> //{ >>> minkowski() >>> { >>> difference() >>> { >>> box(); >>> Divider_1(); >>> Divider_2(); >>> Divider_3(); >>> Finger_cutout(); >>> } >>> sphere(Wall/3); >>> } >>> //Text(); >>> //} >>> >>> >>> -- >>> >>> Cheers, Ken >>> bats059@gmail.com >>> https://vk7krj.com/running.html >>> https://sstv.vk7krj.com/all_bands.html >>> ---------------------------------------- >>> A baby can be defined as an ego with a noise at one end and a smell at >>> the other. >>> Our job as parents is to teach them to control all three. >>> _______________________________________________ >>> 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.com/running.htmlhttps://sstv.vk7krj.com/all_bands.html >> ---------------------------------------- >> A baby can be defined as an ego with a noise at one end and a smell at the other. >> Our job as parents is to teach them to control all three. >> >> _______________________________________________ >> 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
Wed, Dec 28, 2022 5:22 PM

[image: Screenshot 2022-12-28 at 10.47.12 PM.png]

revised files attached

[image: Screenshot 2022-12-28 at 10.47.12 PM.png] revised files attached
K
Ken
Thu, Dec 29, 2022 1:22 AM

Thanks Sanjeev, your revised box looks excellent. I did have a good look
at what you sent, but my skills with both python and jupiter notebook
are no-where near what they would need to be to do that sort of thing.

On 2022-12-29 04:22, Sanjeev Prabhakar wrote:

Screenshot 2022-12-28 at 10.47.12 PM.png

revised files attached


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

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

A baby can be defined as an ego with a noise at one end and a smell at the other.
Our job as parents is to teach them to control all three.

Thanks Sanjeev, your revised box looks excellent. I did have a good look at what you sent, but my skills with both python and jupiter notebook are no-where near what they would need to be to do that sort of thing. On 2022-12-29 04:22, Sanjeev Prabhakar wrote: > Screenshot 2022-12-28 at 10.47.12 PM.png > > revised files attached > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org -- Cheers, Ken bats059@gmail.com https://vk7krj.com/running.html https://sstv.vk7krj.com/all_bands.html ---------------------------------------- A baby can be defined as an ego with a noise at one end and a smell at the other. Our job as parents is to teach them to control all three.
SP
Sanjeev Prabhakar
Thu, Dec 29, 2022 2:22 AM

Thanks Ken,

Could you run the jupyter notebook file ?

Thanks Ken, Could you run the jupyter notebook file ?