Agent skill
freecad-automation-extract-geometry-properties
Sub-skill of freecad-automation: Extract Geometry Properties (+2).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/cad/freecad-automation/extract-geometry-properties
SKILL.md
Extract Geometry Properties (+2)
Extract Geometry Properties
import FreeCAD
import Part
def extract_geometry_properties(doc_path):
"""Extract geometric properties from FreeCAD document."""
doc = FreeCAD.openDocument(doc_path)
results = {}
for obj in doc.Objects:
*See sub-skills for full details.*
## Export Formats and CLI
```bash
# Export STEP from command line
freecadcmd -c "
import FreeCAD, Part
doc = FreeCAD.openDocument('model.FCStd')
Part.export(doc.Objects, 'output.step')
"
# Export STL
freecadcmd -c "
import FreeCAD, Mesh
doc = FreeCAD.openDocument('model.FCStd')
Mesh.export(doc.Objects, 'output.stl')
"
Parse STEP/IGES Output Metadata
import Part
def parse_export_stats(export_path):
"""Parse exported file and return statistics."""
shape = Part.read(export_path)
return {
"solids": len(shape.Solids),
"shells": len(shape.Shells),
"faces": len(shape.Faces),
*See sub-skills for full details.*
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?