Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

RubenRubens/SolidMonty-FreeCAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

FreeCAD Builder for SolidMonty

This is a FreeCAD implementation for writing your SolidMonty CAD scripts. I hope you will find it useful.

If FreeCAD alredy has a python API... why someone will use the SolidMonty Builder?

Writing scripts in FreeCAD could be a little bit messy. Thankfully, SolidMonty make things simpler, more human readable and natural. Nevertheless, if you're into scripting in FreeCAD there are others alternatives like cadquery that may help.

Installation

  1. Install FreeCAD.
  2. Download this folder into your computer.
  3. Now add that directory to your PYTHONPATH.

That's it boys and girls. Now you can start FreeCAD and run your scripts by importing the library.

from SolidMonty_FreeCAD import *

# Your code here

How to run the FreeCAD Builder for Solid Monty in the terminal?

If you are interested in writing scripts in a diferent editor and then export the results (STL, IGES, STEP), you can execute the following command in your terminal:

FreeCADCmd.exe your_directory/your_script.py

Where:

  • FreeCADCmd.exe is a executable that you have to find in the FreeCAD folder. You have to add that directory to your system path.
  • your_script.py is your script.
  • your_directory is the directory where is placed your_script.py. If you're running the script directly in the current working directory it is not neceary to write it.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Languages