Skip to main content

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

freecad_sketch_reader-0.2.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freecad_sketch_reader-0.2.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file freecad_sketch_reader-0.2.0.tar.gz.

File metadata

File hashes

Hashes for freecad_sketch_reader-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e225e94aae5c0ee19a9f251fee5d520bd0b0f727345205cde30de30beef8df6d
MD5 44a4d38b8faf1ffe102b28def27951e5
BLAKE2b-256 d01082eb56cc337933810cb597dd9cd63ea6f0e4a4260c4058dc7d4e6ba52d2d

See more details on using hashes here.

File details

Details for the file freecad_sketch_reader-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for freecad_sketch_reader-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8d71fd2ac92fb4f23886c4426da51d4490c50a72ebf973fdc33384e678312b77
MD5 e6e3c8d8f7fb7fdf928c5a844d0fb5af
BLAKE2b-256 5557c109c60c355b0163a3c53d636ea6b144e777c739f045906ece41bc43aee1

See more details on using hashes here.

Supported by

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