Message Boards Message Boards

0
|
7683 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Set size/dimension of STL export?

Posted 6 years ago

Hi all,

I have bee using Mathematica(11.0.1) to 3d print shapes, something like

Export["test.stl", someGeoObj, {"STL", "BinaryFormat" -> False}]

Now I am wondering if I can specify size/dimension of objects Mathematica export (in mm or inch), without going through other apps like MeshLab.
I use Formlabs Preform and Ultimaker Cura to print STL files.

Best,

POSTED BY: SY Yoon
2 Replies
Posted 6 years ago

Thanks for the reply Marco.

So what does [RegionResize ... 1 ] mean in case of irregular shape like Stanford Bunny? Its height (the longest part), bounding box?

POSTED BY: SY Yoon

Hi SY Yoon,

I think that the easiest way is to resize the stl object in Cura - see for example here. Increasing the size of objects within Mathematica can be done in various ways. Here I use RegionResize to do that:

Show[RegionResize[DiscretizeGraphics[ExampleData[{"Geometry3D", "StanfordBunny"}]], 1], 
TransformedRegion[DiscretizeGraphics[ExampleData[{"Geometry3D", "StanfordBunny"}]], TranslationTransform[{1, 0, 0}]]]

enter image description here

I included a shifted version of the object to see the difference.

You can export the resized region as always.

You could use of course also Printout3D which can export a file. There is an option for the Units

Printout3D[\[ScriptCapitalR], "Sculpteo", TargetUnits -> "Centimeters"];

Don't use the "Sculpteo" and it'll print out to a file. Another useful option is RegionSize

Printout3D[\[ScriptCapitalR], RegionSize -> 3]

Cheers,

Marco

POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract