Skip to main content

A geometrical modeler based on Open-Cascade

Project description

pyoccad

A geometrical modeler based on the wrapping of occt (OpenCascade) open-source CAD package and helpers for a simplified use.

History

v0.6.0

2024-07-12

  • Changed
    • add CreateCircle.from_radius_center_normal and fix and deprecate CreateCircle.from_radius_and_center
    • fix the make_edge helper, taking a single curve
    • expose optimal algorithm to create a bounding box (measure.shape.bounds)
    • refactor create.solid submodule and split surface creation helpers into create.surface submodules
    • improve rendering by re-using the existing mesh (only update the buffers) and detecting object copies (using the IsPartner() method)
    • add capability to do trimmed revolution in create.primitive.revolution.CreateRevolution
    • fix unwanted copy when moving an object, to keep its existing tesselation and improve rendering
  • Chores
    • improve formatting and imports sorting using black and isort
    • add flake8 configuration

v0.5.0

2022-09-13

BREAKING

  • Fix import errors due to API changes in OCCT 7.6 release (thus also pythonocc-core) (MR #10)
    • remove deleted handlers
    • support API change to iterate over Poly_Triangulation nodes
    • set dependency to pythonocc-core >= 7.6

v0.4.2

2021-08-31

  • Set dependency to pythonocc-core >= 7.4, instead of exactly 7.4.0 (MR #2)
  • New factory pyoccad.create.CreateCylinder (MR #3)
  • Replace conda by mamba in CI scripts (MR #4)
  • Minor refactoring pass (MR #5)

v0.4.1

2021-03-19

First open source release. No code change compared to v0.4.0

v0.4.0

2020-11-09

  • Changed
    • Rename pyoccad.types into pyoccad.typing
    • Update projects AUTHORS, LICENSE files

v0.4.0.dev4

2020-09-08

  • Changed
    • fix camera_position not configurable in 2d pythreejs renderer

v0.4.0.dev3

2020-09-08

  • Changed
    • pythreejs is now an optional dependency for pyoccad.render module

v0.4.0.dev2

2020-09-04

  • Added

    • build the documentation using Sphinx
  • Changed

    • use pythonocc-core instead of pyoccad-core to take benefit of occt 7.4.0
    • minor internal changes to fit pyoccad-core 7.4.0

v0.4.0.dev1

2020-09-01

  • Changed
    • major performance improvement of ThreeJS renderer for Jupyter
    • refactoring (includes major API changes)
    • improve code coverage

v0.4.0.dev0

2020-07-30

  • Changed
    • major refactoring and API changes (add tests, create factories, add docstrings)

v0.3.0rc1

2020-02-05

  • Changed
    • fix dependency and tests errors on renderer

v0.3.0rc0

2020-02-05

  • Added
    • various helpers for point, line, curve, surface, transformation
    • docstrings and unit tests for cpp and python code

v0.2.5

2020-01-17

  • Fixed
    • lattice in jupyter renderer

v0.2.4

2020-01-17

  • Changed
    • improved geometry viewer with more customization, docs and tests

v0.2.3

2019-12-10

  • Changed
    • fix pythreejs renderers due to import error
    • add capability to disable automatic renderThreeJsPy show as a class constructor argument

v0.2.2

2019-12-10

  • Changed
    • fix pythreejs renderers due to import collision in renderThreeJsPy (remove import *)

v0.2.1

2019-12-10

  • Changed
    • fix import error on cpp helper on poly explore (imported name not consistent with binaries)

v0.2.0

2019-11-27

  • Added

    • rolling ball (bi-tangent circle) algorithm
    • Gordon surface algorithm
    • refactoring and API changes in the create toolbox
  • Changed

    • improve and unify the docstring documentation

v0.1.0.dev1

2019-10-17

  • Added
    • 1d interpolation
    • sewing capability in healing toolbox
    • notebook examples on casings
    • docstrings

v0.1.0.dev0

2019-09-18

  • Added
    • package creation by importing/refactoring helpers from archived pyocc package and adding new helpers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyoccad-0.6.0.tar.gz (93.2 kB view details)

Uploaded Source

Built Distribution

pyoccad-0.6.0-py3-none-any.whl (136.6 kB view details)

Uploaded Python 3

File details

Details for the file pyoccad-0.6.0.tar.gz.

File metadata

  • Download URL: pyoccad-0.6.0.tar.gz
  • Upload date:
  • Size: 93.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.19

File hashes

Hashes for pyoccad-0.6.0.tar.gz
Algorithm Hash digest
SHA256 6318987a0994c8a7a1320015b2fdfe4da089691ab63776430d50cfe156790bad
MD5 8cfc769632a634ec460df4b16e0f1e64
BLAKE2b-256 097d0db0f527ad2cb09db765304ba67edaf3f4e8af9056849dd53233285b9e26

See more details on using hashes here.

File details

Details for the file pyoccad-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: pyoccad-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 136.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.19

File hashes

Hashes for pyoccad-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6691cfffc852a20e21c02a325c2a44e14e2f3dca379ba427ab951fd77e40102e
MD5 9ddfa3ba8511d39a8d27002fc1f720b7
BLAKE2b-256 31c003e17e8cee19c32a0d058feffa0b628243024984f13436cbcf2725416e17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page