Approach to recreate this in OpenSCAD?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Approach to recreate this in OpenSCAD?

Scalpel78
This post has NOT been accepted by the mailing list yet.
Hi, I've made this sensor holder in Autodesk Fusion 360, but now I want to make it in OpenSCAD instead.

Do you have hints as to what approach I should take? Start with a 2D figure, and extrude? Start with a 3D box, and cut out?

Reply | Threaded
Open this post in threaded view
|

Re: Approach to recreate this in OpenSCAD?

MichaelAtOz
Administrator
Scalpel78 wrote
Hi, I've made this sensor holder in Autodesk Fusion 360, but now I want to make it in OpenSCAD instead.

Do you have hints as to what approach I should take? Start with a 2D figure, and extrude? Start with a 3D box, and cut out?

I'd do a 2D of the 'wall' profile & extrude, add the slightly raised base of the wall as flat cube()'s then prob hull() a few circle()s to get the radius of the curves of the base and extrude (or you could hull flat cylinder()'s)
Admin - email* me if you need anything, or if I've done something stupid...
* click on my MichaelAtOz label, there is a link to email me.

Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work.
Obviously inclusion of works of previous authors is not included in the above.
Reply | Threaded
Open this post in threaded view
|

Re: Approach to recreate this in OpenSCAD?

runsun
In reply to this post by Scalpel78
Or you can try something similar to this:

difference()
{
difference()
{
cylinder(r=5, h=7,$fn=8);
translate([0,0,1])cylinder(r=4, h=7,$fn=8);
}  
translate( [0,-5,4])
cube( size=10, center=true );
rotate([0,0,-360/8])
translate( [0,-5,4])
cube( size=10, center=true );
}
$ Runsun Pan, PhD
$ libs: scadx, doctest, faces(git), offline doc(git), runscad.py(2,git), editor of choice: CudaText ( OpenSCAD lexer); $ Tips; $ Snippets