[Sidefx-houdini-list] 3d Printing and Houdini

east.robert east.robert at gmail.com
Fri Jan 18 17:07:12 EST 2013


Thanks for the code !

Rob

On Tue, Jan 15, 2013 at 1:14 PM, kawaldeep <kawaldeep at gmail.com> wrote:

> here's a quick and dirty stl exporter I wrote for a class using an
> older machine which had some software that allowed stl and sml
> previewing, which was useful in order to get wall thickness and bead
> visualization; triangulate beforehand.
>
>
> def stlWrite(file = "", part=""):
> # call as: stlWrite(filename, objNode)
>         f = open(file, "w")
>
>         f.write("solid \n")
>
>         g = hou.node('/obj/' + part).displayNode().geometry()
>         for p in g.prims():
>                 n  = p.normal()
>                 v0 = p.vertex(0).point().position()
>                 v1 = p.vertex(1).point().position()
>                 v2 = p.vertex(2).point().position()
>
>                 f.write("facet normal " + str(n[0]) + " " + str(n[1]) + "
> " +
> str(n[2]) + "\n")
>                 f.write("outer loop\n")
>                 f.write("vertex " + str(v0[0]) + " " + str(v0[1]) + " " +
> str(v0[2]) + "\n")
>                 f.write("vertex " + str(v1[0]) + " " + str(v1[1]) + " " +
> str(v1[2]) + "\n")
>                 f.write("vertex " + str(v2[0]) + " " + str(v2[1]) + " " +
> str(v2[2]) + "\n")
>                 f.write("endloop\n")
>                 f.write("endfacet\n")
>
>         f.write("end solid \n")
>
>         f.close()
>
>
>
>
>
>
> On Mon, Jan 14, 2013 at 5:57 PM, east.robert <east.robert at gmail.com>
> wrote:
> >
> > Thanks for the info !
> >
> > Rob
> >
> > On Tue, Jan 15, 2013 at 8:31 AM, Lisa Reynolds <lisa at red3d.com> wrote:
> >
> > > I used Shapeways for a 3D printing project with Houdini exporting a
> .obj
> > > file. To cut costs, try to make walls thin or hollow out your model.
> You
> > > have to allow a hole large enough for the clean-out of material in a
> hollow
> > > model. They have information on their site regarding tolerances and
> > > requirements for each of the materials they offer. You will be given a
> > > price to print when you upload the model, and you can then make
> changes and
> > > upload a new one if the price is too high. Scale accurately from the
> outset
> > > and you'll save yourself some headaches. My only complaint with them
> was
> > > that they missed their promised ship date, so I wouldn't use them for
> > > anything time critical.
> > >
> > > Cheers,
> > > -Lisa
> > >
> > > On Jan 14, 2013, at 9:00 AM, sidefx-houdini-list-request at sidefx.comwrote:
> > >
> > > >
> > > > Message: 1
> > > > Date: Mon, 14 Jan 2013 17:34:44 +1100
> > > > From: "east.robert" <east.robert at gmail.com>
> > > > Subject: [Sidefx-houdini-list] 3d Printing and Houdini
> > > > To: sidefx-houdini-list at sidefx.com
> > > > Message-ID:
> > > >       <
> > > CAJCZns5seHP97YpCwvXFYewq1ssVu57E-sqHh6KBopOHbnQ+YA at mail.gmail.com>
> > > > Content-Type: text/plain; charset=ISO-8859-1
> > > >
> > > > Hi All,
> > > >          Does anyone happen to of used Houdini for any 3d printing
> and
> > > > happen to have any experiences to share ? . I really don't know the
> stock
> > > > standard CAD applications well enough to produce a 3d cad model  but
> > > noted
> > > > at http://www.shapeways.com/  you can use Houdini  ! .
> > > >
> > > > regards
> > > >
> > > > Rob
> > > >
> > > >
> > > >
> > > > --
> > > > Robert East
> > > >
> > > > Sydney Australia
> > > > +61 (0)424648857
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Sidefx-houdini-list mailing list
> > > Sidefx-houdini-list at sidefx.com
> > > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> > >
> >
> >
> >
> > --
> > Robert East
> >
> > Sydney Australia
> >  +61 (0)424648857
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



-- 
Robert East

Sydney Australia
 +61 (0)424648857



More information about the Sidefx-houdini-list mailing list