Skip to content

A module-workbench combo that adds a CadQuery /Build123d editor to FreeCAD

License

Notifications You must be signed in to change notification settings

chantran22/cadquery-freecad-workbench

 
 

Repository files navigation

The CadQuery Workbench for FreeCAD

GitHub version

Introduction

This is a revised Cadquery workbench on FreeCAD that allows the Code Editor to execute and display CadQuery models (*.py not macro).

image

Documentation

  • Introduction

  • Installation method 1

    After install build123d/ Cadquery in path: C:\Users\AppData\Roaming\Python\Python311\site-packages
    then copy revised WB to folder path C:\Users\AppData\Roaming\FreeCAD\Mod\ or following sequence instruction from Jeremy Wright in main hub (cadquery-freecad-workbench) then replace cadquery WB content by files of this branch to folder path: C:\Users\AppData\Roaming\FreeCAD\Mod\

    Restart Freecad then run test:

    +write code in code editor

    +click Execute Script to show model (for Build123d click "Execute Script" button in twice)

  • Installation method 2

    If you already installed build123d/ Cadquery in another python path folder eg: C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\site-packages
    and dont want to install cadquery/ build123d again then copy cadquery/ build123d package & dependancies from old path folder to C:\Users\Admin\AppData\Local\Programs\FreeCAD 1.0\bin\Lib\site-packages\ (* Note need checking requirement dependancies of cadquery/build123d, some packages may already got in Freecad)

    then copy revised WB to folder path C:\Users\AppData\Roaming\FreeCAD\Mod\ , now Freecad can call core cadquery/build123d functions.

  • Usage

  • Developers

Testing result

image

image

option using "from cadquery.vis import show"

image

in Freecad environment, Cadquery - Build123d now are more convenient in usage with dialog

image

Update some functions

image

About

A module-workbench combo that adds a CadQuery /Build123d editor to FreeCAD

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%