amrit3701 / docker-freecad-cli

FreeCAD compile without GUI
https://hub.docker.com/r/amrit3701/freecad-cli/
MIT License
22 stars 11 forks source link

Add a workbench #4

Open Spoutnik97 opened 1 year ago

Spoutnik97 commented 1 year ago

Hi @amrit3701 , Thanks for your work ! I'm looking for adding a new workbench to the raw Freecad build (sheet metal). How would you do that ?

amrit3701 commented 1 year ago

Hi @Spoutnik97,

You need to add following code to your Dockerfile for adding any external workbench. For example, here I am adding Reinforcement to docker FreeCAD image.

FROM amrit3701/freecad-cli:0.20-amd64

RUN git clone https://github.com/amrit3701/FreeCAD-Reinforcement.git /usr/local/Mod/Reinforcement \
    && git -C /usr/local/Mod/Reinforcement checkout bd889cd5fb8abdb56c86acc14bfdb2841ad0061f