OpenJSCAD.org icon indicating copy to clipboard operation
OpenJSCAD.org copied to clipboard

[Feature proposal] Rendering multiple objects

Open Ph1r3ph0x opened this issue 8 years ago • 6 comments

I have a little feature proposal: A lot of designs I make in OpenSCAD consist of multiple parts. Especially if I want to 3D-print in multiple colors. It would be great to have a OpenJsCad like feature (returning multiple objects) for exporting multiple parts in OpenJSCad! Maybe to even have the ability to download a .zip file (found this: https://stuk.github.io/jszip/) containign all the stl files. Sadly I can't program javascript. If I have spare time I might give it a go though.

Ph1r3ph0x avatar Jul 13 '17 12:07 Ph1r3ph0x

Thanks. I added such a feature but it wasn't accepted. I'll try again.

z3dev avatar Jul 13 '17 18:07 z3dev

What I do to render from scripts with multiple parts is adding a parameter to choose the part, then I make a batch file where I invoke openjscad for each part (just changing the parameter and output file) and gather the result into a file.

gilboonet avatar Jul 14 '17 08:07 gilboonet

pretty much everything already returns an array, so it would make sense to support it as output as well

kaosat-dev avatar Jul 15 '17 12:07 kaosat-dev

These are the external formats that can convert multiple geometries into multiple objects (external format).

  • AMF
  • DXF
  • JSON
  • SVG
  • X3D

The only format that does not support multiple geometries is STL, which makes sense. STL by definition is just a raw, unstructured triangulated surface.

z3dev avatar Oct 01 '20 05:10 z3dev

@Ph1r3ph0x Is this a specific feature for STL exports?

I once had a discussion about color printing with Mr. Prusa. He mentioned the above formats, but preferred 3MF for multi-color prints. The Prusa slicer handles 3MF files very nicely.

z3dev avatar Dec 09 '20 08:12 z3dev

@Ph1r3ph0x please respond, otherwise this issue will be closed. Of course, you can reopen anytime.

z3dev avatar Apr 15 '21 11:04 z3dev