discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Head light bezel

C
cbernhardt
Tue, Jan 16, 2018 4:58 PM

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/

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/
AR
Algot Runeman
Tue, Jan 16, 2018 11:53 PM

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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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 > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
GW
Glenn West
Wed, Jan 17, 2018 12:37 AM

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 charlie@carols62.com 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
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

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 <charlie@carols62.com> 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 > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
C
cbernhardt
Fri, Jan 19, 2018 8:38 PM

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/

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/
P
Parkinbot
Mon, Jan 29, 2018 12:11 PM

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 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/
C
cbernhardt
Mon, Jan 29, 2018 5:12 PM

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/

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/