Releases: evereux/pycatia
Releases · evereux/pycatia
0.5.1
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:
from pycatia import catia
caa = catia()
documents = caa.documents
documents.open(r'tests/cat_files/part_measurable.CATPart')
# get the active document
document = caa.active_document
# get the Part() object. NOTE THIS IS NOW A PROPERTY, NOT A METHOD.
part = document.partName: pycatia_0.5.0.zip
Size: 19,298,434 bytes (18 .4 MB)
CRC32: C3BF925A
MD5: A4FF9EC1A1BE624567E9884F95AD0560
SHA-1: FE9CD3A4881E4BE21E020DEA83E9A27FB73FBBE9
0.4.4
- 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.
Many thanks to Tian-Jionglu for his contributions.
Name: pycatia_0.4.4.zip
Size: 18982951 bytes (18 MiB)
CRC32: D1DDAF75
CRC64: AACE3B0B934F7DAA
SHA256: 4DA8C0CE2C6F021FA42163B2B4991CCA63143CF25EA7347033EA073EB1BD2104
SHA1: 0B8ACAA249962CEA853F99740B86FE933610AECF
BLAKE2sp: 15FA6ACDD3BEFA8AFC90C985509C3B2EED83DE398F7B5A872625ED26C3287C77
0.4.3
0.4.2
changelog
- 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
pycatia_0.4.2.zip checksums:
- CRC32: 15B9E9B6
- MD5: BF9E93DD3DC7F1FB6618F453606C0494
- SHA-1: CC536F14CED9ADDB009F8737F388EA80362FE6E4
0.4.1
Changelog
- Document.save_as() - If overwrite is set 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.
0.4.0
Breaking changes.
- The catia application object now needs to be initialized in your scripts. This was done so scripts can be written in such a way that they first launch CATIA V5 (or check it's actually running) before the application object is initialised. Previously, the object was initialised immediately on import. Not practical for some use cases. For example:
>>> from pycatia import catia
>>> # initialise the catia application automation object.
>>> caa = catia()
>>> document = caa.active_document
- Removed pycatia.workbenches folder. Functionality is provided for Document object.
- Lots of bug/type fixes. Mypy is great!
- Collection objects are now directly iterable (Product.get_products() will be deprecated in later release).
>>> from pycatia import catia
>>> caa = catia()
>>> document = caa.active_document
>>> product = document.product()
>>> products = product.products
>>> for product in products:
>>> print(product)
- Improved viewing experience of API. I hope.
Builds
build_win32: pycatia_0.4.0.zip
0.3.9
- Added product.generate_ALLCATPart.
- Added product.constraints.
- Improved error message for selection.search.
- Removed product.concession (now constraints and easier to use).
- Removed application.execute_script and application.evaluate. Should use application.system_service.
- All methods dependant on application.SystemService updated.
- Docs
- API CAA reference note now collapsed by default.
- Restructured examples.
- Added pycatia API tree for overview.
- Changed sphinx theme to alabaster.
- Added windows executable (see win_32 folder on github). This isn't thoroughly
tested and is provided for testing purposes.
0.3.8
- Updated all hybrid_shape_interfaces properties due to regression bug introduced by merging old source .py files.
- Fixed missing API docs.