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.3.tar.gz (7.7 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.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: freecad_sketch_reader-0.3.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.6

File hashes

Hashes for freecad_sketch_reader-0.3.tar.gz
Algorithm Hash digest
SHA256 76a4661a0f245fb752a2edcef0c08d7f05fad31873645675a7c0dfaeeef3f245
MD5 0caf48bc96a2ec980d167392fdaf4d9b
BLAKE2b-256 891f360d95d29e46c0119412c6c2d9ff7c45645d4b17dbf12045ee762839a34c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for freecad_sketch_reader-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6261350c9fd0046e56d810fa924f124de0f1836a931779ea9001ceb6a53c3379
MD5 cfa1d14d4c9900d429dd83c915eff8a6
BLAKE2b-256 bad8e1fabb14a5eb9bc43c48bcae5b8c1ded000332feefdca63c6bc52b7951c4

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