Head light bezel

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

Head light bezel

cbernhardt
I am working on a project to 3D print a headlight bezel for an old Corvette.
I have the main part designed in OpenSCAD (see attached picture), but I need
to figure out how to measure/design/integrate the part shown in the yellow
circle on the picture.  Any suggestions?
<http://forum.openscad.org/file/t1309/bezel.jpg>



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

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Head light bezel

algotruneman
Something beginning like this?

$fn=30;

difference(){
rotate([0,90,0]){
     rotate_extrude(convexity=10)
scale([1.5,1,2])
translate([1,0,0])
  circle(r=1);
}
translate([-5,-5,-3])
cube([10,10,5]);

}
translate([-3,2,2])
     rotate_extrude(convexity=10)
scale([1.5,1,2])
translate([1,0,0])
  circle(r=1);

translate([3,2,2])
     rotate_extrude(convexity=10)
scale([1.5,1,2])
translate([1,0,0])
  circle(r=1);

On 01/16/2018 11:58 AM, cbernhardt wrote:

> I am working on a project to 3D print a headlight bezel for an old Corvette.
> I have the main part designed in OpenSCAD (see attached picture), but I need
> to figure out how to measure/design/integrate the part shown in the yellow
> circle on the picture.  Any suggestions?
> <http://forum.openscad.org/file/t1309/bezel.jpg>
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Head light bezel

glennswest
In reply to this post by cbernhardt
Out a line at that point and use a hull
You can tilt the line


Sent from my iPhone

> On 17 Jan 2018, at 12:58 AM, cbernhardt <[hidden email]> wrote:
>
> I am working on a project to 3D print a headlight bezel for an old Corvette.
> I have the main part designed in OpenSCAD (see attached picture), but I need
> to figure out how to measure/design/integrate the part shown in the yellow
> circle on the picture.  Any suggestions?
> <http://forum.openscad.org/file/t1309/bezel.jpg>
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> [hidden email]
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Head light bezel

cbernhardt
In reply to this post by algotruneman
algotruneman wrote
> Something beginning like this?

I used your suggestion and got close (see attached picture).
What I really need is a function that allows the input of randomly spaced 3D
points and produces a 3D mesh surface.  Is there such a function?
Thanks,
Charles
<http://forum.openscad.org/file/t1309/beze2.jpg>




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

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Head light bezel

Parkinbot
OpenSCAD is not very good in rounding freely composed forms. For 2D shapes
you can use offset(), but there is (currently) no counterpart for 3D
objects, besides minkowsky() which is very slow.

In your case you could give the surface() command a try. It expects a PNG
(grayscale value = height between 0 and 100) or a matrix of Z-heights. Both
representations can easily be meshed into a "mountain" if you can do without
"overhanging rocks".




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

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Head light bezel

cbernhardt
I created a 3D mesh surface in AutoCAD, used a program called AcuTrans3d to
give it thickness, exported it as an STL file and imported it into OpenSCAD
(green area in attached picture).
<http://forum.openscad.org/file/t1309/fillet_green.jpg>  



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

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org