We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Dear all,
I would like to import a 3D model into Processing that was made in SolidWorks. I saw that there are options of importing 3D models with the .obj format; however, what about another neutral format like .step, .iges etc., since SolidWorks doesn't have the option of saving files into .obj...
Also, is it possible for processing to recognize different objects since I want to import an assembly? For example is it possible to select certain elements of the assembly or does Processing recognize an imported 3D model as 1 part?
Thank you for any given help. Regards,
L
Answers
@mcluka -- I believe you need to export from Solidworks to obj.
https://forum.processing.org/two/discussion/5349/use-of-3d-file-in-processing-solidworks
https://processing.org/reference/loadShape_.html
https://www.google.com/search?q=solidworks+obj+export
Ok thank you, I did export it into .obj, however, what about the second part of the question?
I'm not sure whether the OBJ importer always imports a single object.
However, PShape does support child shapes. This is easiest to use from the SVG importer. Or you could import several OBJs to PShapes and then build your own combined PShape by adding children.
https://processing.org/reference/PShape_getChild_.html
Can you post a link to some nice models please
@mcluka