discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

spout

J
jon
Wed, Sep 12, 2018 2:02 AM

I purchased an AnyCubic Photon resin printer.  The resin vat has a
groove on one corner to let you pour resin out, and while the top
surface is quite reasonable, the underside is not, so resin dribbles all
over the place.

I considered designing something to clip onto the vat to eliminate the
drips, but realized that I do not really know how to define that spout
shape.  I suppose it would involve a sweep of some sort.

Anyone have a suggestion?

Thanks!

Jon

I purchased an AnyCubic Photon resin printer.  The resin vat has a groove on one corner to let you pour resin out, and while the top surface is quite reasonable, the underside is not, so resin dribbles all over the place. I considered designing something to clip onto the vat to eliminate the drips, but realized that I do not really know how to define that spout shape.  I suppose it would involve a sweep of some sort. Anyone have a suggestion? Thanks! Jon
T
Troberg
Thu, Sep 13, 2018 11:18 AM

Without knowing how the spout should look, it's very hard to give advice.

Some possible ways:

  • Make a cone with cylinder(), hollow it out with difference() and anther
    cone.

  • Start with a cube, difference out bits you don't want.

  • Make 2D shapes and extrue or rotate extrude them

Either way, you'll probably have to add some attachment bits and remove some
bits you don't need.

If you could post some kind of sketch or picture, it would be so much easier
to give good suggestions.

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

Without knowing how the spout should look, it's very hard to give advice. Some possible ways: * Make a cone with cylinder(), hollow it out with difference() and anther cone. * Start with a cube, difference out bits you don't want. * Make 2D shapes and extrue or rotate extrude them Either way, you'll probably have to add some attachment bits and remove some bits you don't need. If you could post some kind of sketch or picture, it would be so much easier to give good suggestions. -- Sent from: http://forum.openscad.org/
P
Parkinbot
Fri, Sep 14, 2018 2:53 PM

the "idea" is as simple as this (and follows the usual rules for part
design):

  1. model the vat
  2. model some "nose" e.g. by playing around with cone shapes
  3. difference the vat from the nose

e.g. see this code

// vat
height = 50;
width = 200;
length = 300;
rounded = 10;

spout();
#vat();

module spout()
{
difference()
{
nose();
vat();
}
}

module vat()
{
translate([length/2, width/2, -height])
linear_extrude(height)
offset(rounded)
square([length-2rounded, width-2rounded], center = true);
}

module nose()
{
r = rounded+5;
h = height;
difference()
{
halfcone(r, r-2, h);
rotate([0, 60, 45])
translate([-h/2, 0, -h/4])
cube(h, center = true);
}
}

module halfcone(r1=12, r2=11, h=40)
{
rotate([90, 0, -45])
difference()
{
cylinder(h=h-1, r1=r1, r2=.3r1, center = true);
cylinder(h=h, r1=r2, r2=.3
r2, center = true);
translate([0, h/2, 0]) cube([h,h,h], center = true);
}
}

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

the "idea" is as simple as this (and follows the usual rules for part design): 1. model the vat 2. model some "nose" e.g. by playing around with cone shapes 3. difference the vat from the nose e.g. see this code // vat height = 50; width = 200; length = 300; rounded = 10; spout(); #vat(); module spout() { difference() { nose(); vat(); } } module vat() { translate([length/2, width/2, -height]) linear_extrude(height) offset(rounded) square([length-2*rounded, width-2*rounded], center = true); } module nose() { r = rounded+5; h = height; difference() { halfcone(r, r-2, h); rotate([0, 60, 45]) translate([-h/2, 0, -h/4]) cube(h, center = true); } } module halfcone(r1=12, r2=11, h=40) { rotate([90, 0, -45]) difference() { cylinder(h=h-1, r1=r1, r2=.3*r1, center = true); cylinder(h=h, r1=r2, r2=.3*r2, center = true); translate([0, h/2, 0]) cube([h,h,h], center = true); } } -- Sent from: http://forum.openscad.org/