Pycatia

Latest version: v0.8.0

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

Scan your dependencies

Page 5 of 9

0.5.1

* Fix bug with HybridShapeFactory.add_new_datums().

0.5.0

* Added tps_interfaces.
* Document() no longer contains methods specific to Parts, Products and Drawings. This will most likely break your
scripts. Please see updated examples. These methods / properties are now only available in PartDocument,
ProductDocument and DrawingDocument. Example:

python
from pathlib import Path

from pycatia import catia
from pycatia.mec_mod_interfaces.part_document import PartDocument

source_document = Path(r'tests/cat_files/part_measurable.CATPart')

caa = catia()
documents = caa.documents
documents.open(source_document)

get the active document
document: PartDocument = caa.active_document
get the Part() object. NOTE THIS IS NOW A PROPERTY, NOT A METHOD.
part = document.part


* Removed requirements from setup.py which are installed by pytest.

0.4.4

Many thanks to Tian-Jionglu for his contributions.

* Improved checks for malformed filenames.
* Add method Application.setting_controllers.
* Improvements to export_data.
* Added Product.type.
* Docstring fix for Measurable.get_minimum_distance.
* Added __iter__ method to collections.

0.4.3

* Updated ViewPoint3D get methods so they now work.
* Updated Viewer so Viewer2D and Viewer3D can be called.
* Fix issue 58.
* Change file_name argument so that it now expects Path().
* Log warning to console if full path isn't provided.
* Raise error if directory doesn't exist.

0.4.2

* Added missing methods Parameter.rename(), Parameter.valuate_from_string(), and Parameter.value_as_string()
* Added missing methods DrawingThread.is_linked().
* Added the following missing methods from the class HybridShapeCurveSmooth
* add_frozen_curve_segment()
* add_frozen_point
* get_frozen_curve_segment
* get_frozen_curve_segments_size
* get_frozen_point
* get_frozen_points_size
* remove_all_frozen_curve_segments
* remove_all_frozen_points
* remove_frozen_curve_segment
* remove_frozen_point
* set_maximum_deviation
* set_tangency_threshold

0.4.1

* Document.save_as() If overwrite is to true DisplayFileAlerts is set to False.
* Analyze added to Part().
* Updates / fixes to SettingController(s) and LicenseSettingAtt. More work to be done here yet though.
* Document.add() now accepts lowercase document_types.
* Document.add() now correctly returns a document.

Page 5 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.