Skip to content

Commit 0f11d43

Browse files
authored
Merge pull request #8 from shimwell/package-typo-fix
Package typo fix
2 parents a83c5e4 + dfebd69 commit 0f11d43

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
CadQuery plugin to create a mesh of an assembly with corresponding data.
44

5-
This plugin makes use of CadQuery tags to collect surfaces into Gmsh physical groups. The
5+
This plugin makes use of CadQuery tags to collect surfaces into [Gmsh](https://gmsh.info/) physical groups. The
66
tagged faces are matched to their corresponding surfaces in the mesh via their position in the CadQuery solid(s) vs the Gmsh surface ID. There are a few challenges with mapping tags to surfaces to be aware of.
77

88
1. Each tag can select multiple faces/surfaces at once, and this has to be accounted for when mapping tags to surfaces.
@@ -11,7 +11,7 @@ tagged faces are matched to their corresponding surfaces in the mesh via their p
1111

1212
## Installation
1313

14-
You can do `pip install -e .` locally in the root of this repo to enable development. Alternatively, you can install via `pip install git+git@github.com:cadquery/cadquery-assembly-mesh-plugin.git` if you have access to the repo on Github.
14+
You can do `pip install -e .` locally in the root of this repo to enable development. Alternatively, you can install via `pip install git+git@github.com:cadquery/assembly-mesh-plugin.git` if you have access to the repo on Github.
1515

1616
## Usage
1717

@@ -20,10 +20,10 @@ You can do `pip install -e .` locally in the root of this repo to enable develop
2020
The plugin needs to be imported in order to monkey-patch its method into CadQuery:
2121

2222
```python
23-
import cadquery_assembly_mesh_plugin.plugin
23+
import assembly_mesh_plugin.plugin
2424
```
2525

26-
You can then tag faces in each of the assembly parts and create your asembly. To export the assembly to a mesh file, you do the following.
26+
You can then tag faces in each of the assembly parts and create your assembly. To export the assembly to a mesh file, you do the following.
2727

2828
```python
2929
your_assembly.saveToGmsh(mesh_path="tagged_mesh.msh")
@@ -38,7 +38,7 @@ Below is a simple example.
3838

3939
```python
4040
import cadquery as cq
41-
import cadquery_assembly_mesh_plugin.plugin
41+
import assembly_mesh_plugin.plugin
4242

4343
shell = cq.Workplane("XY").box(50, 50, 50)
4444
shell = shell.faces(">Z").workplane().rect(21, 21).cutThruAll()
@@ -94,7 +94,7 @@ gmsh.finalize()
9494

9595
These tests are also run in Github Actions, and the meshes which are generated can be viewed as artifacts on the successful `tests` Actions there.
9696

97-
* [sample_coils.py](tests/sample_coils.py) contains generators for sample assemlies for use in testing the basic operation of this plugin. This file also contains the code to tag all faces of interest.
97+
* [sample_coils.py](tests/sample_coils.py) contains generators for sample assemblies for use in testing the basic operation of this plugin. This file also contains the code to tag all faces of interest.
9898
* [smoke_test.py](tests/smoke_test.py) runs two tests currently. The first is for a simple cross-section of a coil (image below), which makes it easier to verify basic operation. The second is for a planar coil, which forces the use of more advanced selectors, but is not as complex as a coil with a non-planar sweep path. This planar-coil test is not complete yet.
9999

100100
Once the test has been run (using the pytest command), two mesh files (.msh extension) be created in the root of the repository.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ dev = [
3232
]
3333

3434
[project.urls]
35-
Repository = "https://github.com/cadquery/cadquery-assembly-mesh-plugin.git"
36-
"Bug Tracker" = "https://github.com/cadquery/cadquery-assembly-mesh-plugin/issues"
35+
Repository = "https://github.com/cadquery/assembly-mesh-plugin.git"
36+
"Bug Tracker" = "https://github.com/cadquery/assembly-mesh-plugin/issues"

0 commit comments

Comments
 (0)