You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the custom parts don1_board_top and don1_board_bottom are stored as STEP files exported from FreeCAD.
They need to be replaced with some human readable format like OpenSCAD to enable collaboration and incremental edits.
Either at the same time or as the next issue, CNC friendly outputs (either DXF or gcode or both) need to be added.
The text was updated successfully, but these errors were encountered:
It would actually be nice if CadQuery is used to generate the part design instead of OpenSCAD. Both would require some changes in the 'Bill-of-Material' library to support new type in part.json.
Please, note, it's important to have an intermediate 2D artifact so that DXF can be generated.
CadQuery option
The changes for CadQuery would be similar to the code found in get_assembly.
OpenSCAD option
The changes for OpenSCAD may got next to if part["type"] == "step" but the code will be a bit more complex given no native support for importing OpenSCAD in CadQuery. Alternatively, a preprocessing step could be added into the part rendering process (parts/render.py) which will generate the STEP file from whatever the source file is.
One way to implement these custom parts is by implementing them in pure CaqQuery code.
There is now a good example: https://github.com/openvmp/openvmp-models/blob/main/robots/don1/assembly_wormgear.py
So such custom parts would be defined in separate files next to assembly_wormgear.py, and loaded into the corresponding links in the same way.
The other way is to maintain the blueprints of the custom parts next to all other parts in the parts folder.
However instead of using type: "step" in part.json, use part: "openscad".
That will require an extension to the bom.py library to be able to load OpenSCAD files in a way similar to the way it loads STEP files now.
Currently the custom parts
don1_board_top
anddon1_board_bottom
are stored as STEP files exported from FreeCAD.They need to be replaced with some human readable format like OpenSCAD to enable collaboration and incremental edits.
Either at the same time or as the next issue, CNC friendly outputs (either DXF or gcode or both) need to be added.
The text was updated successfully, but these errors were encountered: