Read Sketch objects from FreeCAD .FCStd files
Project description
Small library to read FreeCAD files and extract Sketch information.
The Sketch objects returned have a read-only API that mirrors the Python API that can be used to examine a Sketch from within FreeCAD.
Installation:
pip install freecad-sketch-reader
Or:
uv add freecad-sketch-reader
Quick start:
>>> import freecad_sketch_reader
>>> sketches = freecad_sketch_reader.read_sketches("MyFile.FCStd")
>>> sketch = sketches['MySketch'].Geometry[0]
GeomLineSegment(StartPoint=Vector(x=0.0, y=0.0, z=0.0), EndPoint=Vector(x=67.54724367780743, y=0.0, z=0.0), Construction=False)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freecad_sketch_reader-0.2.0.tar.gz.
File metadata
- Download URL: freecad_sketch_reader-0.2.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e225e94aae5c0ee19a9f251fee5d520bd0b0f727345205cde30de30beef8df6d
|
|
| MD5 |
44a4d38b8faf1ffe102b28def27951e5
|
|
| BLAKE2b-256 |
d01082eb56cc337933810cb597dd9cd63ea6f0e4a4260c4058dc7d4e6ba52d2d
|
File details
Details for the file freecad_sketch_reader-0.2.0-py3-none-any.whl.
File metadata
- Download URL: freecad_sketch_reader-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d71fd2ac92fb4f23886c4426da51d4490c50a72ebf973fdc33384e678312b77
|
|
| MD5 |
e6e3c8d8f7fb7fdf928c5a844d0fb5af
|
|
| BLAKE2b-256 |
5557c109c60c355b0163a3c53d636ea6b144e777c739f045906ece41bc43aee1
|