discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

need help for beveling/smoothing

B
bboett
Wed, Jul 10, 2019 2:30 PM

Hello

i am trying to design my own spool holder for my 3D printer (i know there
are more original stuff to do, yet, i found nothing directly usable, so...)

i have put the actual state into https://github.com/nohkumado/spulenhalter

at the moment it is quite coarse, i am still a beginner with openscad, the
rim is not as i want it to be, it still protrudes a bit, the encroachings
need bevelling to be more gentle to the touch (well sandpaper is your
friend... but if i could do without...)

i read about the different bevel libraries, but only found ones that work on
straight lines, and mine are (should be) curved (my polygons are still
rough....) i found some examples on curved surfaces, but the stuff presented
there exceeded by far my mathematical prowesses.....

so if someone has some tips, or even maybe could look into the knob:

https://github.com/nohkumado/spulenhalter/blob/master/knauf.scad

and make it more smooth, would earn my neverending thankfullness!

thanks in advance

Bruno

--
Sent from: http://forum.openscad.org/

Hello i am trying to design my own spool holder for my 3D printer (i know there are more original stuff to do, yet, i found nothing directly usable, so...) i have put the actual state into https://github.com/nohkumado/spulenhalter at the moment it is quite coarse, i am still a beginner with openscad, the rim is not as i want it to be, it still protrudes a bit, the encroachings need bevelling to be more gentle to the touch (well sandpaper is your friend... but if i could do without...) i read about the different bevel libraries, but only found ones that work on straight lines, and mine are (should be) curved (my polygons are still rough....) i found some examples on curved surfaces, but the stuff presented there exceeded by far my mathematical prowesses..... so if someone has some tips, or even maybe could look into the knob: https://github.com/nohkumado/spulenhalter/blob/master/knauf.scad and make it more smooth, would earn my neverending thankfullness! thanks in advance Bruno -- Sent from: http://forum.openscad.org/
G
GZ
Wed, Jul 10, 2019 6:21 PM

it was done already https://www.thingiverse.com/thing:3252111

On 7/10/19, bboett bboett@gmail.com wrote:

Hello

i am trying to design my own spool holder for my 3D printer (i know there
are more original stuff to do, yet, i found nothing directly usable, so...)

i have put the actual state into https://github.com/nohkumado/spulenhalter

at the moment it is quite coarse, i am still a beginner with openscad, the
rim is not as i want it to be, it still protrudes a bit, the encroachings
need bevelling to be more gentle to the touch (well sandpaper is your
friend... but if i could do without...)

i read about the different bevel libraries, but only found ones that work
on
straight lines, and mine are (should be) curved (my polygons are still
rough....) i found some examples on curved surfaces, but the stuff
presented
there exceeded by far my mathematical prowesses.....

so if someone has some tips, or even maybe could look into the knob:

https://github.com/nohkumado/spulenhalter/blob/master/knauf.scad

and make it more smooth, would earn my neverending thankfullness!

thanks in advance

Bruno

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

it was done already https://www.thingiverse.com/thing:3252111 On 7/10/19, bboett <bboett@gmail.com> wrote: > Hello > > i am trying to design my own spool holder for my 3D printer (i know there > are more original stuff to do, yet, i found nothing directly usable, so...) > > i have put the actual state into https://github.com/nohkumado/spulenhalter > > at the moment it is quite coarse, i am still a beginner with openscad, the > rim is not as i want it to be, it still protrudes a bit, the encroachings > need bevelling to be more gentle to the touch (well sandpaper is your > friend... but if i could do without...) > > i read about the different bevel libraries, but only found ones that work > on > straight lines, and mine are (should be) curved (my polygons are still > rough....) i found some examples on curved surfaces, but the stuff > presented > there exceeded by far my mathematical prowesses..... > > so if someone has some tips, or even maybe could look into the knob: > > https://github.com/nohkumado/spulenhalter/blob/master/knauf.scad > > and make it more smooth, would earn my neverending thankfullness! > > thanks in advance > > Bruno > > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
P
Parkinbot
Wed, Jul 10, 2019 8:00 PM

The easiest solution:

minkowski()
{
knauf();
sphere(3);
}

</file/t887/Knauf.png>

--
Sent from: http://forum.openscad.org/

The easiest solution: minkowski() { knauf(); sphere(3); } </file/t887/Knauf.png> -- Sent from: http://forum.openscad.org/
L
lar3ry
Wed, Jul 10, 2019 9:25 PM

Parkinbot wrote

minkowski()
{
knauf();
sphere(3);
}

Holy *&^@ Parkinbot!
Best use of minkowski I've seen

Thanks!

--
Sent from: http://forum.openscad.org/

Parkinbot wrote > minkowski() > { > knauf(); > sphere(3); > } Holy *&^@ Parkinbot! Best use of minkowski I've seen Thanks! -- Sent from: http://forum.openscad.org/
GS
Guenther Sohler
Wed, Jul 10, 2019 9:34 PM

we dont have knauf();

On Wed, Jul 10, 2019 at 11:25 PM lar3ry lar3ry@sasktel.net wrote:

Parkinbot wrote

minkowski()
{
knauf();
sphere(3);
}

Holy *&^@ Parkinbot!
Best use of minkowski I've seen

Thanks!

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

we dont have knauf(); On Wed, Jul 10, 2019 at 11:25 PM lar3ry <lar3ry@sasktel.net> wrote: > Parkinbot wrote > > minkowski() > > { > > knauf(); > > sphere(3); > > } > > Holy *&^@ Parkinbot! > Best use of minkowski I've seen > > Thanks! > > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
L
lar3ry
Wed, Jul 10, 2019 9:56 PM

Guenther Sohler-2 wrote

we dont have knauf();

Right. the OpenSCAD code for knauf was in the OP's post. I was thanking
Parkinbot for the general technique.
No idea how "Batman!" got to be the subject.

For an idea of why I thought it was a great technique, try this in OpenSCAD

$fn=60;
minkowski() {
cube(20);
sphere(4);
}
translate ([40,0,0])
minkowski() {
cylinder(h=20,d1=20,d2=4);
sphere(4);
}

--
Sent from: http://forum.openscad.org/

Guenther Sohler-2 wrote > we dont have knauf(); Right. the OpenSCAD code for knauf was in the OP's post. I was thanking Parkinbot for the general technique. No idea how "Batman!" got to be the subject. For an idea of why I thought it was a great technique, try this in OpenSCAD $fn=60; minkowski() { cube(20); sphere(4); } translate ([40,0,0]) minkowski() { cylinder(h=20,d1=20,d2=4); sphere(4); } -- Sent from: http://forum.openscad.org/
B
bboett
Thu, Jul 11, 2019 8:13 AM

tobject wrote

not really.... as sayd i have a wall mount with a 10mm thread, that spool
takes max 8mm (and i prefer the look of the other one ;) )

and yes, i know there are allready lots of spoolholders out there, and the
one you point at, at least was done in openscad, which makes customization
easier!

ciao
Bruno

--
Sent from: http://forum.openscad.org/

tobject wrote > it was done already https://www.thingiverse.com/thing:3252111 not really.... as sayd i have a wall mount with a 10mm thread, that spool takes max 8mm (and i prefer the look of the other one ;) ) and yes, i know there are allready lots of spoolholders out there, and the one you point at, at least was done in openscad, which makes customization easier! ciao Bruno -- Sent from: http://forum.openscad.org/
B
bboett
Thu, Jul 11, 2019 8:36 AM

Parkinbot wrote

The easiest solution:

minkowski()
{
knauf();
sphere(3);
}

thanks a lot! that did it, even if precompiling now takes 10min istead of a
few s :D
Bruno

--
Sent from: http://forum.openscad.org/

Parkinbot wrote > The easiest solution: > > minkowski() > { > knauf(); > sphere(3); > } thanks a lot! that did it, even if precompiling now takes 10min istead of a few s :D Bruno -- Sent from: http://forum.openscad.org/
B
bboett
Thu, Jul 11, 2019 5:41 PM

hello again!

well :( didn't work (as sayd code is in
https://github.com/nohkumado/spulenhalter)

i added the minkovsky transform to the final stage, and the whole thing
bites the dust with a
Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
Rendering Polygon Mesh using CGAL...
ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion
violation! Expr: e_below != SHalfedge_handle() File:
/usr/include/CGAL/Nef_3/SNC_FM_decorator.h Line: 427
Geometries in cache: 143
Geometry cache size in bytes: 1374856
CGAL Polyhedrons in cache: 24
CGAL cache size in bytes: 67098656
Total rendering time: 0 hours, 1 minutes, 24 seconds
Rendering finished.

that'a in the file
https://github.com/nohkumado/spulenhalter/blob/master/Spulenhalterschraube.scad
that calls https://github.com/nohkumado/spulenhalter/blob/master/knauf.scad
and adds the thread...

without the minkovsky transform, no problem, preview and compile work, with
the transform, the preview is ok, but the compile fails :'( what'ß going
wrong? anyway to fix this?

thanks!
Bruno

--
Sent from: http://forum.openscad.org/

hello again! well :( didn't work (as sayd code is in https://github.com/nohkumado/spulenhalter) i added the minkovsky transform to the final stage, and the whole thing bites the dust with a Parsing design (AST generation)... Compiling design (CSG Tree generation)... Rendering Polygon Mesh using CGAL... ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e_below != SHalfedge_handle() File: /usr/include/CGAL/Nef_3/SNC_FM_decorator.h Line: 427 Geometries in cache: 143 Geometry cache size in bytes: 1374856 CGAL Polyhedrons in cache: 24 CGAL cache size in bytes: 67098656 Total rendering time: 0 hours, 1 minutes, 24 seconds Rendering finished. that'a in the file https://github.com/nohkumado/spulenhalter/blob/master/Spulenhalterschraube.scad that calls https://github.com/nohkumado/spulenhalter/blob/master/knauf.scad and adds the thread... without the minkovsky transform, no problem, preview and compile work, with the transform, the preview is ok, but the compile fails :'( what'ß going wrong? anyway to fix this? thanks! Bruno -- Sent from: http://forum.openscad.org/
B
bboett
Thu, Jul 11, 2019 5:58 PM

ok.....
while trying to print the other part, that compiled..... i noticed that the
insert for the bearing was missing....
i commented the difference in
https://github.com/nohkumado/spulenhalter/blob/master/Spulenhalterschraube.scad
to make the insert visible, its there, and it should remove its slice from
the minkovsky transformed handle, shouldn't it?

while it does work on the other end of the holder, it doesn't work on the
handle :(
that makes it really strange for me....

any light welcome!

Bruno

--
Sent from: http://forum.openscad.org/

ok..... while trying to print the other part, that compiled..... i noticed that the insert for the bearing was missing.... i commented the difference in https://github.com/nohkumado/spulenhalter/blob/master/Spulenhalterschraube.scad to make the insert visible, its there, and it should remove its slice from the minkovsky transformed handle, shouldn't it? while it does work on the other end of the holder, it doesn't work on the handle :( that makes it really strange for me.... any light welcome! Bruno -- Sent from: http://forum.openscad.org/