Skip to content

Commit d65df5f

Browse files
Fix remaining renamings.
1 parent ed42392 commit d65df5f

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pytest tests/test_freecad_roundtrip.py -v
193193
The Fusion 360 test suite (73 tests) must be run as a script inside Fusion 360:
194194
1. Open Fusion 360
195195
2. 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

adapter_fusion/addin/MorpheServer/MorpheServer.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
"""
2-
Canonical Sketch Server Add-in for Fusion 360.
2+
Morphe Server Add-in for Fusion 360.
33
44
This add-in automatically starts the RPC server when Fusion 360 launches,
55
enabling external applications to interact with Fusion 360 sketches via
6-
the canonical sketch format.
6+
the Morphe canonical sketch format.
77
88
The 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")

adapter_fusion/script/MorpheTests/MorpheTests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
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
3030
if str(PROJECT_ROOT) not in sys.path:
3131
sys.path.insert(0, str(PROJECT_ROOT))
3232

adapter_fusion/script/MorpheTests/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ sketches can be loaded into Fusion and exported back without loss of essential i
77
## Prerequisites
88

99
1. 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

1616
The 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
1818
setup is required.
1919

2020
### Option 2: Install the Package
2121

2222
```bash
23-
cd /path/to/canonical_sketch
23+
cd /path/to/morphe
2424
pip 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

9292
1. Check that the project root path is correct in the test script
9393
2. Verify the package structure is intact

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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]
3434
dev = [

0 commit comments

Comments
 (0)