Jupyter-cadquery

Latest version: v3.5.2

Safety actively analyzes 623827 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

07.04.2021

- **New features**

- Complete new tessellator class. Significantly faster (for a 15MB STEP file it reduced the rendering time from 3 min to <10 sec)
- Mesh quality is calculated as in FreeCad (sum of bounding box x-, y-, z-widths divided by 300 times deviation parameter)

- **Changes**
- Pan speed is adapted to object size sum of bounding box x-, y-, z-widths divided by 300)
- Replay warnings can be suppressed now (`replay(warning=False)`)


Release documentation

Release process

In case the jupyter labextions and/or the python code has been changed:

1. Run tests

bash
make tests


2. Clean environment

bash
make clean delete all temp files
make prepare commit deletions


3. Bump version of jupyter_cadquery

- A new release candidate with rc0

bash
make bump part=major|minor|patch


- A new build

bash
make bump part=build


- A new release

bash
make bump part=release


- A new release without release candidate

bash
make bump part=major|minor|patch version=major.minor.patch


4. Create distribution

bash
make dist


5. Create and tag release

bash
make release


6. Deploy to pypi

bash
make upload


7. Create Docker container

bash
make docker


7. Upload Docker container

bash
make upload_docker


3 Push changes

1. Push repo and tag

bash
git push
git push origin --tags

3.5.2

Changes
- Default python now is 3.10
- Add support for `Compound`s with mixed shape types
- Aligned `show_object` with `CQ-Editor` (e.g. support `options` dict)
- Improved [build123d](https://github.com/gumyr/build123d) support
- Introduced `convert_build123d_massembly` to support `MAssembly` for `build123d` (experimental, might vanish when `build123d supports assemblies)
- Add support for my private `Alg123d` library (a thin facade on top of `build123d` to remove all implicit behavior and give control back to the user)

Fixes
- OCCT bug with helix: If height = 2 * pitch, `GCPnts_QuasiUniformDeflection` returns 2 points only. Jupyter CadQuery detects this and uses `GCPnts_QuasiUniformAbscissa` instead

3.4.0

Support for [build123d](https://github.com/gumyr/build123d) (experimental).

3.3.0

This version changes the default view angle, hence the change of the minor version number. If you want to keep the old view behaviour of _Jupyter CadQuery_ for existing models, use `up="L"` (L as in legacy) as `show` parameter directly or via `set_defaults`.

Changes:

- Changed view button orientation behaviour:
- up="Z" now works like FreeCAD, Onshape, ... with isometric view changed and buttons adapted (e.g. front is now defined differently!)
- up="Y" works like "Fusion 360" in "y up" mode
- up="L" works like the old z up mode of Jupyter CadQuery
- Logo and hexapod example adapted to new view behaviour

Fixes:

- Fixed default parameters of `exportSTL`

3.2.2

No feature change, change dependency to cad-viewer-widget 1.3.5 which fixes using ipywidgets 7.7.2

3.2.1

No feature change, just re-released 3.2.0 since a deployment error happened with 3.2.0 to Pypi

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.