Replies: 3 comments 4 replies
-
Hi, so SVGs created with shapely backend (currently on main, will be available in 3.0.0a3) are kind of suitable for that. You can import those SVGs into Blender (either with GUI or with bpy module available on pypi) as grease pencil and convert that into mesh and fill with polygons, then you can use solidify modifier to add thickness. Unfortunately this is not trivial to automate as Gerber images can have planes with holes which do not connect to any of the edges. This kind of topology doesn't work well with Blender SVG importing. I am still working on that, but there is no simple solution. SVG renderer available in 2.4.1 is not suitable for 3D model generation as it does not perform actual difference (cutting) operations, it only masks regions which have to be transparent, which does not yield satisfying results in Blender. |
Beta Was this translation helpful? Give feedback.
-
Hi @chenzanyu I have published PyGerber 3.0.0a3, it is still a alpha release, but for image generation it should be mature enough. You can install it from PyPI with: pip install pygerber==3.0.0a3 You can find quick start guide here in particular SVG image generation guide in Vector images section. |
Beta Was this translation helpful? Give feedback.
-
I installed the latest 3.0.0a3 version, and I cannot preview the SVG image generated by the example code in the browser. |
Beta Was this translation helpful? Give feedback.
-
It's known that SVG images can be generated. How can they be converted into 3D models? Do you have any ideas about this? Thank you very much. @Argmaster
Beta Was this translation helpful? Give feedback.
All reactions