File tree Expand file tree Collapse file tree 5 files changed +18
-18
lines changed
Expand file tree Collapse file tree 5 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ pytest tests/test_freecad_roundtrip.py -v
193193The Fusion 360 test suite (73 tests) must be run as a script inside Fusion 360:
1941941 . Open Fusion 360
1951952 . Go to Utilities > Add-Ins > Scripts
196- 3 . Add and run the test script from ` sketch_adapter_fusion/tests /`
196+ 3 . Add and run the test script from ` adapter_fusion/script/MorpheTests /`
197197
198198** SolidWorks adapter tests (requires SolidWorks on Windows):**
199199``` bash
Original file line number Diff line number Diff line change 11"""
2- Canonical Sketch Server Add-in for Fusion 360.
2+ Morphe Server Add-in for Fusion 360.
33
44This add-in automatically starts the RPC server when Fusion 360 launches,
55enabling external applications to interact with Fusion 360 sketches via
6- the canonical sketch format.
6+ the Morphe canonical sketch format.
77
88The server listens on localhost:9879 by default.
99
@@ -35,16 +35,16 @@ def _setup_import_paths() -> tuple[bool, str]:
3535 addin_dir = os .path .dirname (addin_file )
3636
3737 # Expected structure:
38- # canonical_sketch/ <- REPO_DIR
39- # adapter_fusion/ <- ADAPTER_DIR
38+ # morphe/ <- REPO_DIR
39+ # adapter_fusion/ <- ADAPTER_DIR
4040 # addin/
41- # CanonicalSketchServer/ <- addin_dir
42- # CanonicalSketchServer .py <- this file
41+ # MorpheServer/ <- addin_dir
42+ # MorpheServer .py <- this file
4343
4444 # Navigate up to find the repository root
4545 addin_parent = os .path .dirname (addin_dir ) # addin/
4646 adapter_dir = os .path .dirname (addin_parent ) # adapter_fusion/
47- repo_dir = os .path .dirname (adapter_dir ) # canonical_sketch /
47+ repo_dir = os .path .dirname (adapter_dir ) # morphe /
4848
4949 # Validate the directory structure
5050 expected_adapter_init = os .path .join (adapter_dir , "__init__.py" )
Original file line number Diff line number Diff line change 2525
2626# Add the project root to path for imports
2727# Use resolve() to follow the symlink to the actual source location
28- SCRIPT_DIR = Path (__file__ ).resolve ().parent # .../script/CanonicalSketchTests
29- PROJECT_ROOT = SCRIPT_DIR .parent .parent .parent # .../canonical_sketch
28+ SCRIPT_DIR = Path (__file__ ).resolve ().parent # .../script/MorpheTests
29+ PROJECT_ROOT = SCRIPT_DIR .parent .parent .parent # .../morphe
3030if str (PROJECT_ROOT ) not in sys .path :
3131 sys .path .insert (0 , str (PROJECT_ROOT ))
3232
Original file line number Diff line number Diff line change @@ -7,20 +7,20 @@ sketches can be loaded into Fusion and exported back without loss of essential i
77## Prerequisites
88
991 . Autodesk Fusion 360 installed
10- 2 . The ` canonical_sketch ` package accessible from Fusion's Python environment
10+ 2 . The ` morphe ` package accessible from Fusion's Python environment
1111
1212## Setup
1313
1414### Option 1: Add to Python Path (Recommended for Development)
1515
1616The test script automatically adds the project root to the Python path. If you're
17- running from the default location within the canonical_sketch project, no additional
17+ running from the default location within the morphe project, no additional
1818setup is required.
1919
2020### Option 2: Install the Package
2121
2222``` bash
23- cd /path/to/canonical_sketch
23+ cd /path/to/morphe
2424pip install -e .
2525```
2626
@@ -87,7 +87,7 @@ To view the Text Commands palette: **View** > **Show Text Commands** (or Ctrl+Al
8787
8888### "Module not found" Errors
8989
90- If you see import errors for ` sketch_canonical ` or ` sketch_adapter_fusion ` :
90+ If you see import errors for ` core ` or ` adapter_fusion ` :
9191
92921 . Check that the project root path is correct in the test script
93932 . Verify the package structure is intact
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ authors = [
2525]
2626
2727[project .urls ]
28- Homepage = " https://github.com/codereclaimers/canonical_sketch "
29- Repository = " https://github.com/codereclaimers/canonical_sketch "
30- Issues = " https://github.com/codereclaimers/canonical_sketch /issues"
31- Documentation = " https://github.com/codereclaimers/canonical_sketch /blob/main/SPECIFICATION.md"
28+ Homepage = " https://github.com/codereclaimers/morphe "
29+ Repository = " https://github.com/codereclaimers/morphe "
30+ Issues = " https://github.com/codereclaimers/morphe /issues"
31+ Documentation = " https://github.com/codereclaimers/morphe /blob/main/SPECIFICATION.md"
3232
3333[project .optional-dependencies ]
3434dev = [
You can’t perform that action at this time.
0 commit comments