discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Replacement control knob for gas hob

T
Terry
Sun, Feb 6, 2022 4:33 PM

We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm
not surprised there's no match from the Candy site's (expensive) 13 offerings.
Ebay have sets of four which are more sensibly priced but I'm going to make my
own button. However I'm immersed in another (non-OpenSCAD) project, so although
I'd ideally like to try making it from scratch myself, as a refresher exercise
after a long gap, I've instead found this handy parameterised design.
https://www.thingiverse.com/thing:54024

That made it trivially simple to get to the first draft I've shown. But I'm
struggling with the next steps, to get the interior 'recessed' and looking
roughly like the original.
https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1

The bottom of the spindle hole is 5mm above the bottom of the button. When in
place the button is about 3mm above the surface, and has to be pressed before
turning. The original button has a small metal insert which flexes, so the
button be pulled off for cleaning. But I may simply use a screw against the flat
spindle section instead, and avoid a D shaped spindle hole,

Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But
any help in getting the button printed quickly would be much appreciated please.

Terry

We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm not surprised there's no match from the Candy site's (expensive) 13 offerings. Ebay have sets of four which are more sensibly priced but I'm going to make my own button. However I'm immersed in another (non-OpenSCAD) project, so although I'd ideally like to try making it from scratch myself, as a refresher exercise after a long gap, I've instead found this handy parameterised design. https://www.thingiverse.com/thing:54024 That made it trivially simple to get to the first draft I've shown. But I'm struggling with the next steps, to get the interior 'recessed' and looking roughly like the original. https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1 The bottom of the spindle hole is 5mm above the bottom of the button. When in place the button is about 3mm above the surface, and has to be pressed before turning. The original button has a small metal insert which flexes, so the button be pulled off for cleaning. But I may simply use a screw against the flat spindle section instead, and avoid a D shaped spindle hole, Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But any help in getting the button printed quickly would be much appreciated please. Terry
DS
David Schooley
Sun, Feb 6, 2022 7:19 PM

I’ve done a few things similar to this where I took the outer part, which you have done, and then subtract off a slightly smaller version to get the interior. You would then have to go back and add the center section back to the model. It might be easier to do a 2D drawing of the overall shape and do a rotate_extrude to get the button. You could do the slotted hole two ways. The first is incorporate the round hole into the 2D drawing, so you get it by default with the rotation. Then you just add the slot. The other is to a simpler 2D drawing and subtract the round hole and the slot at the end.

On Feb 6, 2022, at 10:33 AM, Terry terrypingm@gmail.com wrote:

We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm
not surprised there's no match from the Candy site's (expensive) 13 offerings.
Ebay have sets of four which are more sensibly priced but I'm going to make my
own button. However I'm immersed in another (non-OpenSCAD) project, so although
I'd ideally like to try making it from scratch myself, as a refresher exercise
after a long gap, I've instead found this handy parameterised design.
https://www.thingiverse.com/thing:54024

That made it trivially simple to get to the first draft I've shown. But I'm
struggling with the next steps, to get the interior 'recessed' and looking
roughly like the original.
https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1

The bottom of the spindle hole is 5mm above the bottom of the button. When in
place the button is about 3mm above the surface, and has to be pressed before
turning. The original button has a small metal insert which flexes, so the
button be pulled off for cleaning. But I may simply use a screw against the flat
spindle section instead, and avoid a D shaped spindle hole,

Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But
any help in getting the button printed quickly would be much appreciated please.

Terry


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

I’ve done a few things similar to this where I took the outer part, which you have done, and then subtract off a slightly smaller version to get the interior. You would then have to go back and add the center section back to the model. It might be easier to do a 2D drawing of the overall shape and do a rotate_extrude to get the button. You could do the slotted hole two ways. The first is incorporate the round hole into the 2D drawing, so you get it by default with the rotation. Then you just add the slot. The other is to a simpler 2D drawing and subtract the round hole and the slot at the end. > On Feb 6, 2022, at 10:33 AM, Terry <terrypingm@gmail.com> wrote: > > We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm > not surprised there's no match from the Candy site's (expensive) 13 offerings. > Ebay have sets of four which are more sensibly priced but I'm going to make my > own button. However I'm immersed in another (non-OpenSCAD) project, so although > I'd ideally like to try making it from scratch myself, as a refresher exercise > after a long gap, I've instead found this handy parameterised design. > https://www.thingiverse.com/thing:54024 > > That made it trivially simple to get to the first draft I've shown. But I'm > struggling with the next steps, to get the interior 'recessed' and looking > roughly like the original. > https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1 > > The bottom of the spindle hole is 5mm above the bottom of the button. When in > place the button is about 3mm above the surface, and has to be pressed before > turning. The original button has a small metal insert which flexes, so the > button be pulled off for cleaning. But I may simply use a screw against the flat > spindle section instead, and avoid a D shaped spindle hole, > > Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But > any help in getting the button printed quickly would be much appreciated please. > > Terry > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
TP
Terry Pinnell
Sun, Feb 6, 2022 7:33 PM

Thanks David, I’ll investigate those helpful suggestions. Meanwhile I printed that first draft and it looks reasonable, but hole is a tad too small.

--
Terry, East Grinstead, UK

On 6 Feb 2022, at 19:19, David Schooley dcschooley@gmail.com wrote:

I’ve done a few things similar to this where I took the outer part, which you have done, and then subtract off a slightly smaller version to get the interior. You would then have to go back and add the center section back to the model. It might be easier to do a 2D drawing of the overall shape and do a rotate_extrude to get the button. You could do the slotted hole two ways. The first is incorporate the round hole into the 2D drawing, so you get it by default with the rotation. Then you just add the slot. The other is to a simpler 2D drawing and subtract the round hole and the slot at the end.

On Feb 6, 2022, at 10:33 AM, Terry terrypingm@gmail.com wrote:

We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm
not surprised there's no match from the Candy site's (expensive) 13 offerings.
Ebay have sets of four which are more sensibly priced but I'm going to make my
own button. However I'm immersed in another (non-OpenSCAD) project, so although
I'd ideally like to try making it from scratch myself, as a refresher exercise
after a long gap, I've instead found this handy parameterised design.
https://www.thingiverse.com/thing:54024

That made it trivially simple to get to the first draft I've shown. But I'm
struggling with the next steps, to get the interior 'recessed' and looking
roughly like the original.
https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1

The bottom of the spindle hole is 5mm above the bottom of the button. When in
place the button is about 3mm above the surface, and has to be pressed before
turning. The original button has a small metal insert which flexes, so the
button be pulled off for cleaning. But I may simply use a screw against the flat
spindle section instead, and avoid a D shaped spindle hole,

Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But
any help in getting the button printed quickly would be much appreciated please.

Terry


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

Thanks David, I’ll investigate those helpful suggestions. Meanwhile I printed that first draft and it looks reasonable, but hole is a tad too small. -- Terry, East Grinstead, UK > On 6 Feb 2022, at 19:19, David Schooley <dcschooley@gmail.com> wrote: > > I’ve done a few things similar to this where I took the outer part, which you have done, and then subtract off a slightly smaller version to get the interior. You would then have to go back and add the center section back to the model. It might be easier to do a 2D drawing of the overall shape and do a rotate_extrude to get the button. You could do the slotted hole two ways. The first is incorporate the round hole into the 2D drawing, so you get it by default with the rotation. Then you just add the slot. The other is to a simpler 2D drawing and subtract the round hole and the slot at the end. > >> On Feb 6, 2022, at 10:33 AM, Terry <terrypingm@gmail.com> wrote: >> >> We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm >> not surprised there's no match from the Candy site's (expensive) 13 offerings. >> Ebay have sets of four which are more sensibly priced but I'm going to make my >> own button. However I'm immersed in another (non-OpenSCAD) project, so although >> I'd ideally like to try making it from scratch myself, as a refresher exercise >> after a long gap, I've instead found this handy parameterised design. >> https://www.thingiverse.com/thing:54024 >> >> That made it trivially simple to get to the first draft I've shown. But I'm >> struggling with the next steps, to get the interior 'recessed' and looking >> roughly like the original. >> https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1 >> >> The bottom of the spindle hole is 5mm above the bottom of the button. When in >> place the button is about 3mm above the surface, and has to be pressed before >> turning. The original button has a small metal insert which flexes, so the >> button be pulled off for cleaning. But I may simply use a screw against the flat >> spindle section instead, and avoid a D shaped spindle hole, >> >> Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But >> any help in getting the button printed quickly would be much appreciated please. >> >> Terry >> _______________________________________________ >> 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
DM
Douglas Miller
Mon, Feb 7, 2022 3:25 PM

As a starter, try

difference() {
    // everything you have now
    rotate_extrude() polygon([[0,0],[0,8],[14,8],[17,0]]);
}

adjusting corners of the polygon as needed.

On 2/6/2022 11:33 AM, Terry wrote:

We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm
not surprised there's no match from the Candy site's (expensive) 13 offerings.
Ebay have sets of four which are more sensibly priced but I'm going to make my
own button. However I'm immersed in another (non-OpenSCAD) project, so although
I'd ideally like to try making it from scratch myself, as a refresher exercise
after a long gap, I've instead found this handy parameterised design.
https://www.thingiverse.com/thing:54024

That made it trivially simple to get to the first draft I've shown. But I'm
struggling with the next steps, to get the interior 'recessed' and looking
roughly like the original.
https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1

The bottom of the spindle hole is 5mm above the bottom of the button. When in
place the button is about 3mm above the surface, and has to be pressed before
turning. The original button has a small metal insert which flexes, so the
button be pulled off for cleaning. But I may simply use a screw against the flat
spindle section instead, and avoid a D shaped spindle hole,

Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But
any help in getting the button printed quickly would be much appreciated please.

Terry

As a starter, try difference() {     // everything you have now     rotate_extrude() polygon([[0,0],[0,8],[14,8],[17,0]]); } adjusting corners of the polygon as needed. On 2/6/2022 11:33 AM, Terry wrote: > We've somehow lost one of the four knobs on our 30 year old Candy gas hob. I'm > not surprised there's no match from the Candy site's (expensive) 13 offerings. > Ebay have sets of four which are more sensibly priced but I'm going to make my > own button. However I'm immersed in another (non-OpenSCAD) project, so although > I'd ideally like to try making it from scratch myself, as a refresher exercise > after a long gap, I've instead found this handy parameterised design. > https://www.thingiverse.com/thing:54024 > > That made it trivially simple to get to the first draft I've shown. But I'm > struggling with the next steps, to get the interior 'recessed' and looking > roughly like the original. > https://www.dropbox.com/s/8h6dt9sylmijjxh/ButtonGroup.jpg?raw=1 > > The bottom of the spindle hole is 5mm above the bottom of the button. When in > place the button is about 3mm above the surface, and has to be pressed before > turning. The original button has a small metal insert which flexes, so the > button be pulled off for cleaning. But I may simply use a screw against the flat > spindle section instead, and avoid a D shaped spindle hole, > > Meanwhile I'm using a temporary fix from my shed workshop 'old knobs' box. But > any help in getting the button printed quickly would be much appreciated please. > > Terry
BC
Bob Carlson
Mon, Feb 7, 2022 5:13 PM

This code previews fine with F5. However, it fails to render with F6. I added caps = true even though that is the default, but it did not help. On F6 I get the error message below. I can’t see from the error message what the problem might be.

Can someone point out my problem?

f(10, 8);

module f(w, r) {
shape = rect([6, 12], rounding = 2, anchor = LEFT);
path = semiCirclePath(radius = r, angle = 90, segments = 30);
path_sweep( shape, path, caps = true );
}

function semiCirclePath(radius, angle, segments) =
[for (i = [0:1:segments]) let(a = iangle/segments) [radiuscos(a), 0, radius*sin(a)]];

ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: ss_circle.has_on(sv_prev->point()) File: /Users/runner/work/openscad/openscad/../libraries/install/include/CGAL/Nef_3/polygon_mesh_to_nef_3.h Line: 265

Bob
Tucson AZ

This code previews fine with F5. However, it fails to render with F6. I added caps = true even though that is the default, but it did not help. On F6 I get the error message below. I can’t see from the error message what the problem might be. Can someone point out my problem? f(10, 8); module f(w, r) { shape = rect([6, 12], rounding = 2, anchor = LEFT); path = semiCirclePath(radius = r, angle = 90, segments = 30); path_sweep( shape, path, caps = true ); } function semiCirclePath(radius, angle, segments) = [for (i = [0:1:segments]) let(a = i*angle/segments) [radius*cos(a), 0, radius*sin(a)]]; ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: ss_circle.has_on(sv_prev->point()) File: /Users/runner/work/openscad/openscad/../libraries/install/include/CGAL/Nef_3/polygon_mesh_to_nef_3.h Line: 265 Bob Tucson AZ
JB
Jordan Brown
Mon, Feb 7, 2022 6:35 PM

I don't really speak BOSL2, but it works OK for me once I add

include <BOSL2/std.scad>

to the top.

I don't really speak BOSL2, but it works OK for me once I add include <BOSL2/std.scad> to the top.
BC
Bob Carlson
Mon, Feb 7, 2022 10:15 PM

I didn’t show it, but there is an include of BOSL2.

-Bob
Tucson AZ

On Feb 7, 2022, at 11:35, Jordan Brown openscad@jordan.maileater.net wrote:

I don't really speak BOSL2, but it works OK for me once I add
include <BOSL2/std.scad>
to the top.

I didn’t show it, but there is an include of BOSL2. -Bob Tucson AZ On Feb 7, 2022, at 11:35, Jordan Brown <openscad@jordan.maileater.net> wrote: I don't really speak BOSL2, but it works OK for me once I add include <BOSL2/std.scad> to the top.
AM
Adrian Mariano
Mon, Feb 7, 2022 10:29 PM

Works for me too.  You could try updating to the current BOSL2.  There
was a bug sort of recently where some faces were reversed in polyhedra
that would lead to failed renders, though I don't know if it affected
sweeps.

On Mon, Feb 7, 2022 at 5:16 PM Bob Carlson bob@rjcarlson.com wrote:

I didn’t show it, but there is an include of BOSL2.

-Bob
Tucson AZ

On Feb 7, 2022, at 11:35, Jordan Brown openscad@jordan.maileater.net wrote:

I don't really speak BOSL2, but it works OK for me once I add

include <BOSL2/std.scad>

to the top.


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

Works for me too. You could try updating to the current BOSL2. There was a bug sort of recently where some faces were reversed in polyhedra that would lead to failed renders, though I don't know if it affected sweeps. On Mon, Feb 7, 2022 at 5:16 PM Bob Carlson <bob@rjcarlson.com> wrote: > > I didn’t show it, but there is an include of BOSL2. > > -Bob > Tucson AZ > > > > On Feb 7, 2022, at 11:35, Jordan Brown <openscad@jordan.maileater.net> wrote: > > I don't really speak BOSL2, but it works OK for me once I add > > include <BOSL2/std.scad> > > to the top. > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
BC
Bob Carlson
Tue, Feb 8, 2022 12:25 AM

That fixed it thanks. The behavior was quite bizarre in the old version. If I hit F6 with only 1 such object, it would render in BLUE, not the normal greenish, with no error message. The error messages would show up and there would be no render at all if there were 2 such objects.

-Bob
Tucson AZ

On Feb 7, 2022, at 15:29, Adrian Mariano avm4@cornell.edu wrote:

Works for me too.  You could try updating to the current BOSL2.  There
was a bug sort of recently where some faces were reversed in polyhedra
that would lead to failed renders, though I don't know if it affected
sweeps.

On Mon, Feb 7, 2022 at 5:16 PM Bob Carlson bob@rjcarlson.com wrote:

I didn’t show it, but there is an include of BOSL2.

-Bob
Tucson AZ

On Feb 7, 2022, at 11:35, Jordan Brown openscad@jordan.maileater.net wrote:

I don't really speak BOSL2, but it works OK for me once I add

include <BOSL2/std.scad>

to the top.


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

That fixed it thanks. The behavior was quite bizarre in the old version. If I hit F6 with only 1 such object, it would render in BLUE, not the normal greenish, with no error message. The error messages would show up and there would be no render at all if there were 2 such objects. -Bob Tucson AZ On Feb 7, 2022, at 15:29, Adrian Mariano <avm4@cornell.edu> wrote: Works for me too. You could try updating to the current BOSL2. There was a bug sort of recently where some faces were reversed in polyhedra that would lead to failed renders, though I don't know if it affected sweeps. On Mon, Feb 7, 2022 at 5:16 PM Bob Carlson <bob@rjcarlson.com> wrote: > > I didn’t show it, but there is an include of BOSL2. > > -Bob > Tucson AZ > > > > On Feb 7, 2022, at 11:35, Jordan Brown <openscad@jordan.maileater.net> wrote: > > I don't really speak BOSL2, but it works OK for me once I add > > include <BOSL2/std.scad> > > to the top. > > > > _______________________________________________ > 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
BC
Bob Carlson
Tue, Feb 8, 2022 12:28 AM

Having spent a LOT of time with the path_sweep documentation, I think it needs a lot of work. It needs to start with a much simpler explanation of simple cases before it dives into various normals and twisting and so on. It’s a maze of twisty little passages, all different.

-Bob
Tucson AZ

On Feb 7, 2022, at 17:25, Bob Carlson bob@rjcarlson.com wrote:

That fixed it thanks. The behavior was quite bizarre in the old version. If I hit F6 with only 1 such object, it would render in BLUE, not the normal greenish, with no error message. The error messages would show up and there would be no render at all if there were 2 such objects.

-Bob
Tucson AZ

On Feb 7, 2022, at 15:29, Adrian Mariano avm4@cornell.edu wrote:

Works for me too.  You could try updating to the current BOSL2.  There
was a bug sort of recently where some faces were reversed in polyhedra
that would lead to failed renders, though I don't know if it affected
sweeps.

On Mon, Feb 7, 2022 at 5:16 PM Bob Carlson bob@rjcarlson.com wrote:

I didn’t show it, but there is an include of BOSL2.

-Bob
Tucson AZ

On Feb 7, 2022, at 11:35, Jordan Brown openscad@jordan.maileater.net wrote:

I don't really speak BOSL2, but it works OK for me once I add

include <BOSL2/std.scad>

to the top.


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

Having spent a LOT of time with the path_sweep documentation, I think it needs a lot of work. It needs to start with a much simpler explanation of simple cases before it dives into various normals and twisting and so on. It’s a maze of twisty little passages, all different. -Bob Tucson AZ On Feb 7, 2022, at 17:25, Bob Carlson <bob@rjcarlson.com> wrote: That fixed it thanks. The behavior was quite bizarre in the old version. If I hit F6 with only 1 such object, it would render in BLUE, not the normal greenish, with no error message. The error messages would show up and there would be no render at all if there were 2 such objects. -Bob Tucson AZ On Feb 7, 2022, at 15:29, Adrian Mariano <avm4@cornell.edu> wrote: Works for me too. You could try updating to the current BOSL2. There was a bug sort of recently where some faces were reversed in polyhedra that would lead to failed renders, though I don't know if it affected sweeps. On Mon, Feb 7, 2022 at 5:16 PM Bob Carlson <bob@rjcarlson.com> wrote: > > I didn’t show it, but there is an include of BOSL2. > > -Bob > Tucson AZ > > > > On Feb 7, 2022, at 11:35, Jordan Brown <openscad@jordan.maileater.net> wrote: > > I don't really speak BOSL2, but it works OK for me once I add > > include <BOSL2/std.scad> > > to the top. > > > > _______________________________________________ > 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