discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: reduction of computing time - ideas? (Thomas Richter)

DE
David Eccles (gringer)
Mon, Jan 6, 2025 7:35 AM

On 6/01/25 10:45, discuss-request@lists.openscad.org wrote:

If anyone has the nerve to look at this, I'd be interested in
suggestions on how the features of OpenSCAD could be better
utilised. I have a very software engineering heavy approach to
tackling these things.

The mathematical challenge of this intrigued me enough that I decided to
have a go at this problem.

I used a chord height calculation to work out the handle and scallop
bits (matching tangents), and also for the upper curve. It's not quite
an exact mesh when combining the upper surface with the fillets, but my
eyeballing of the model suggests that it's not worth it to do the
tangent matching for that as well.

Seems to work with fairly high arm counts, but there's a bit of playing
round needed with the scallop depth and arm width to get it looking right.

See attached. Also uploaded to printables:

https://www.printables.com/model/1136923-rounded-scalloped-handle

Ngā mihi,

--
David Eccles
Bioinformatics Research Analyst

C: +64 21 262 3223
W: www.gringene.org <www.gringene.org>

Gringene Bioinformatics

On 6/01/25 10:45, discuss-request@lists.openscad.org wrote: > If anyone has the nerve to look at this, I'd be interested in > suggestions on how the features of OpenSCAD could be better > utilised. I have a very software engineering heavy approach to > tackling these things. The mathematical challenge of this intrigued me enough that I decided to have a go at this problem. I used a chord height calculation to work out the handle and scallop bits (matching tangents), and also for the upper curve. It's not quite an exact mesh when combining the upper surface with the fillets, but my eyeballing of the model suggests that it's not worth it to do the tangent matching for that as well. Seems to work with fairly high arm counts, but there's a bit of playing round needed with the scallop depth and arm width to get it looking right. See attached. Also uploaded to printables: https://www.printables.com/model/1136923-rounded-scalloped-handle Ngā mihi, -- *David Eccles* Bioinformatics Research Analyst C: +64 21 262 3223 W: www.gringene.org <www.gringene.org> Gringene Bioinformatics
TR
Thomas Richter
Mon, Jan 6, 2025 10:20 AM

Oh, nice. For sure shorter than my approach. Thank you for sharing it.

Maybe on printables you want to link to my model: https://www.printables.com/model/1116311-parametric-knob-for-hex-nuts-and-allen-screws-knau

Is there any idea regarding the manifold problem with the boolean difference?

I uploaded another demo to github: https://github.com/trses/screw-nut-knobs/blob/boolean-glitch/analytical-solution.scad

Am 06.01.2025 um 08:35 schrieb David Eccles (gringer) via Discuss discuss@lists.openscad.org:

On 6/01/25 10:45, discuss-request@lists.openscad.org wrote:

If anyone has the nerve to look at this, I'd be interested in
suggestions on how the features of OpenSCAD could be better
utilised. I have a very software engineering heavy approach to
tackling these things.

The mathematical challenge of this intrigued me enough that I decided to
have a go at this problem.

I used a chord height calculation to work out the handle and scallop
bits (matching tangents), and also for the upper curve. It's not quite
an exact mesh when combining the upper surface with the fillets, but my
eyeballing of the model suggests that it's not worth it to do the
tangent matching for that as well.

Seems to work with fairly high arm counts, but there's a bit of playing
round needed with the scallop depth and arm width to get it looking right.

See attached. Also uploaded to printables:

https://www.printables.com/model/1136923-rounded-scalloped-handle

Ngā mihi,

--
David Eccles
Bioinformatics Research Analyst

C: +64 21 262 3223
W: www.gringene.org <www.gringene.org>

Gringene Bioinformatics<screw_nut_piecewise.scad><Screenshot_20250106_201430.png>_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Oh, nice. For sure shorter than my approach. Thank you for sharing it. Maybe on printables you want to link to my model: https://www.printables.com/model/1116311-parametric-knob-for-hex-nuts-and-allen-screws-knau Is there any idea regarding the manifold problem with the boolean difference? I uploaded another demo to github: https://github.com/trses/screw-nut-knobs/blob/boolean-glitch/analytical-solution.scad > Am 06.01.2025 um 08:35 schrieb David Eccles (gringer) via Discuss <discuss@lists.openscad.org>: > > On 6/01/25 10:45, discuss-request@lists.openscad.org wrote: >> If anyone has the nerve to look at this, I'd be interested in >> suggestions on how the features of OpenSCAD could be better >> utilised. I have a very software engineering heavy approach to >> tackling these things. > > The mathematical challenge of this intrigued me enough that I decided to > have a go at this problem. > > I used a chord height calculation to work out the handle and scallop > bits (matching tangents), and also for the upper curve. It's not quite > an exact mesh when combining the upper surface with the fillets, but my > eyeballing of the model suggests that it's not worth it to do the > tangent matching for that as well. > > Seems to work with fairly high arm counts, but there's a bit of playing > round needed with the scallop depth and arm width to get it looking right. > > See attached. Also uploaded to printables: > > https://www.printables.com/model/1136923-rounded-scalloped-handle > > Ngā mihi, > > -- > *David Eccles* > Bioinformatics Research Analyst > > C: +64 21 262 3223 > W: www.gringene.org <www.gringene.org> > > Gringene Bioinformatics<screw_nut_piecewise.scad><Screenshot_20250106_201430.png>_______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org