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.1.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.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for freecad_sketch_reader-0.2.1.tar.gz
Algorithm Hash digest
SHA256 68f66ebc373536e21c967f29935b3210b0a588934e6f8ee805268bbbaa6885bc
MD5 5a1799e696c34f0081ae0c1a50c6e655
BLAKE2b-256 5123f2fbf3b8b1e3bb50176b3010f10547addaddd4729cce73f299c989e0c392

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freecad_sketch_reader-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b2024c23a28651fed4cd54b7ee20b4de720dfe6ea6d7d61ddde3a3b47e1cc87
MD5 e3e2e5c8e7e9cdc5bb074770e0bccc9c
BLAKE2b-256 98bbc23ea2a50245eb43171bdb6efec8d262797eb369a82335c1b896536b2082

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