Skip to content

Arch and Draft Setup

infeeeee edited this page Nov 4, 2020 · 4 revisions

Table of Contents generated with DocToc

To use Arch and Draft commands in Dynamo ApiLoaderArch.dyn have to be run instead of the regular ApiLoader.dyn.

Prerequisites

1. Install pip

Source: Customizing Dynamo's Python 3 installation · DynamoDS/Dynamo Wiki · GitHub

This is just an extract, from this tutorial.

  1. Download get-pip.py: Installation - pip 20.2.4 documentation
  2. Copy it to: %localappdata%\python-3.8.3-embed-amd64

Or if you have curl installed, you can get it via cmd:

cd %localappdata%\python-3.8.3-embed-amd64
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py

than install it:

cd %localappdata%\python-3.8.3-embed-amd64
echo import site>> python38._pth
.\python get-pip.py

2. Install PySide2

.\python .\Scripts\pip.exe install PySide2

3. Install six

.\python .\Scripts\pip.exe install six

Usage

If you installed this packages, open Dynamo, (restart if it's already open). Open ApiLoaderArch.dyn, you should get a FreeCAD API successfully loaded message. You can use Arch and Draft nodes from DynFreeCAD now.

Clone this wiki locally