Import STL objects in Daz Studio Ascii and Binary
Here is the ASCII/Binary STL Importer !!!
https://sites.google.com/site/mcasualsdazscripts8/mcjimportstl
================================================================================
The Old ASCII-Only version is here, but you dont want it, no really you dont, ok maybe you do, for science
https://sites.google.com/site/mcasualsdazscripts8/mcjimportsimpleasciistl
================================================================================
Introduction
================================================================================
This script will only import STL files whether in Binary or in ASCII/text format
the script generates a spherical UV map for the object
================================================================================
sofa model from thingverse
1:24 Sofa Scan
by PrettySmallThings, published Jul 18, 2012
Comments
this one is from
https://grabcad.com/library/golden-bridge-ring-2
i converted it to ascii STL using Blender
mcjimportsimpleasciistl took maybe a minute or less to convert it to .obj, there's 300 000 facets
i will see if there's material statements so the jewel could be a different material from the ring
.... nope doesnt seem to be material statements in the blender-exported stl
yes there will be an STL-binary compatible version of the importer !
just have to fix UV spherical frontier issues
This monkey was exported from blender as a binary STL then imported in Daz Studio
Later this evening Ascii-STL and Binary STL importer for Daz Studio PC/Mac since it's a script
the spool holder was an ascii STL from thingverse
Eiffel Tower Spool Holder by apalexander,
the monkey head was a Binary STL from Blender
the importer creates a spherical-projection UV map, there's problems at the poles but i dont want to engage in battle with that quirk so it stays like that! :)
i will add a centering feature which may help obtain better UV maps at the cost of having to read the STL twice
----------
3D scanned by PrettySmallThings at thingverse
1:24 Sofa Scan
by PrettySmallThings, published Jul 18, 2012
minutes from now !
here you see the result of specifying an offset (y) for the center of projection of the spherical UV map
interested? the idea is, if the object stands on the floor ( y = 0 ) and the center of
projection is 0,0,0 then you get a dome-projection UV map and if there's a floor at y=0, it's UV mapping will be unusable
so you would move the center above the floor
Tis ready
https://sites.google.com/site/mcasualsdazscripts8/mcjimportstl
Thank you so much... you come up with the coolest ideas.
Works great! Thanks! I've been working on a 3D model of an engine part I need to have made. I made one model in Blender (much language was used), but it wouldn't render in DS properly. Same happened in Hexagon. The STL looks OK from either tool, but the obj files from those tools had points connected that were not connected. Running the STL through your script produced an obj that actually renders. Now to find a machinist that can make it. Yes, such parts can be 3D printed in metal, but the cost is so high, I was advised to have it done by traditional machining. So much for progress...
Attached is the goofy obj, and the clean one.
maybe it will help the machinist, though the CNCs must need lists of tools and parameters like bore depth
unrelated image for no good reason ( other than it's a good lookin machine )
Great, now I don't have to convert with a 3rd party utility. Thanks again! :D
I did have a plastic version 3D printed to test the fit. The plastic part did uncover some issues with the model, hence the need to do it again, where I decided to use Hexagon. Initially, I thought it would be nice to try a 3D printed metal part, but then I found out about the cost. A friend of mine says he can make the CNC program once I'm happy with the model. The whole reason for the model is actually to redesign the original to make it stronger. Here's why:
i bet some people must make cast-iron molds from plastic 3d-prints
but for 1 piece the cnc/machinist way must be the best
someday i want to let Daz Studio control cnc/3d printers
that script +.exe is to read arduino inputs but there exists a standard to "talk" to those I/O devices
https://sites.google.com/site/mcasualsdazscripts7/mcjcomkit
to simulate/animate articulated machines there's my script here
https://sites.google.com/site/mcasualsdazscripts5/mcjmechanim
also on my site there's a dozen or 2 morphing mechanical props
OMG a Stirling engine, those things are great and the animation that was done does them justice,, good on you.