@@ -47,17 +47,17 @@ Note that miniforge automatically sets *conda-forge* as the default channel. ``
47
47
conda
48
48
`````
49
49
50
- Install the latest released version of cadquery::
50
+ Install the latest released version of cadquery [ #f1 ]_ ::
51
51
52
52
conda create -n cqrel
53
53
conda activate cqrel
54
- conda install -c conda-forge cadquery
54
+ conda install -c conda-forge cadquery occt=7.7.0
55
55
56
- or install a given version of cadquery::
56
+ or install a given version of cadquery [ #f1 ]_ ::
57
57
58
58
conda create -n cq22
59
59
conda activate cq22
60
- conda install -c conda-forge cadquery=2.2.0
60
+ conda install -c conda-forge cadquery=2.2.0 occt=7.7.0
61
61
62
62
or install the latest dev version::
63
63
@@ -119,14 +119,16 @@ Jupyter
119
119
Viewing models in Jupyter is another good option for a GUI. Models are rendered in the browser.
120
120
121
121
The cadquery library works out-of-the-box with Jupyter.
122
- First install cadquery, then install JupyterLab _ in the same conda or Python venv.::
122
+ First install cadquery, then install JupyterLab _ in the same conda or Python venv.:
123
123
124
124
conda
125
+
125
126
.. code-block ::
126
127
127
128
conda install -c conda-forge jupyterlab
128
129
129
130
pip
131
+
130
132
.. code-block ::
131
133
132
134
pip install jupyterlab
@@ -156,4 +158,10 @@ If all has gone well, you can open a command line/prompt, and type::
156
158
$ import cadquery
157
159
$ cadquery.Workplane('XY').box(1,2,3).toSvg()
158
160
159
- You should see raw SVG output displayed on the command line if the CadQuery installation was successful.
161
+ You should see raw SVG output displayed on the command line if the CadQuery installation was successful.
162
+
163
+
164
+ .. note ::
165
+
166
+ .. [#f1 ] Installation of the latest release (version 2.2.0) with conda requires you to specify the version of the OCCT dependency.
167
+ Typically this is not required as the dependencies are managed automatically.
0 commit comments