Skip to content

Commit 011f154

Browse files
authored
Merge pull request #160 from cwapi3d/develop
Develop
2 parents 6140533 + 13802c8 commit 011f154

24 files changed

Lines changed: 6874 additions & 340 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
python-version: '3.10'
2222
- run: pip install build
2323
- run: python -m build
24-
- uses: pypa/gh-action-pypi-publish@release/v1
24+
- uses: pypa/gh-action-pypi-publish@release/v1

.github/workflows/test_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ jobs:
2424
- uses: pypa/gh-action-pypi-publish@release/v1
2525
with:
2626
repository-url: https://test.pypi.org/legacy/
27-
skip-existing: true
27+
skip-existing: true

dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM python:3.10
2+
3+
WORKDIR /app
4+
5+
COPY requirements.txt .
6+
7+
RUN pip install --no-cache-dir -r requirements.txt
8+
9+
COPY . .
10+
11+
RUN mkdocs build
12+
13+
EXPOSE 8080
14+
15+
CMD ["mkdocs", "serve", "--dev-addr=0.0.0.0:8080"]
16+
17+
# docker build -t cwapi3d-py .
18+
# docker run --rm -p 8080:8080 cwapi3d-py

docs/documentation/text_object_options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Test Object Options
1+
# Text Object Options
22

33
::: src.cadwork.text_object_options
44
rendering:

docs/get_started.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,15 @@ for element_id in element_ids:
163163
print(subgroup) # print the subgroup names
164164
```
165165

166+
### run plugin from console
167+
168+
You can also run the plugin from the console.
169+
Flag ```/PLUGIN=``` is used to start the plugin.
170+
171+
```cmd
172+
...\cadwork.dir\ci_start.exe "C:\...\myFile.3d" /PLUGIN=test
173+
```
174+
166175
## Use your prefered IDE (advanced user)
167176

168177
Of course, you can also use any other Python IDE.

docs/release_notes.md

Lines changed: 3634 additions & 111 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cwapi3d"
3-
version = "30.443.9"
3+
version = "30.444.0"
44
authors = [{ name = "Cadwork", email = "[email protected]" }]
55
requires-python = ">= 3.10"
66
description = 'Python bindings for CwAPI3D'

requirements.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
5-
# pip-compile --allow-unsafe --generate-hashes --strip-extras
5+
# pip-compile --allow-unsafe --generate-hashes --strip-extras requirements.in
66
#
77
babel==2.14.0 \
88
--hash=sha256:6919867db036398ba21eb5c7a0f6b28ab8cbc3ae7a73a44ebe34ae74a4e7d363 \
@@ -606,6 +606,12 @@ tinycss2==1.2.1 \
606606
# via
607607
# cairosvg
608608
# cssselect2
609+
tomli==2.0.1 \
610+
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
611+
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
612+
# via
613+
# build
614+
# pyproject-hooks
609615
urllib3==2.2.1 \
610616
--hash=sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d \
611617
--hash=sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19

0 commit comments

Comments
 (0)