I'm creating 2D designs for paper constructions (e.g. pop-up books) using FreeCAD's Sketcher. My designs have two types of lines, cut lines and fold lines (both types are sent separately to a small paper CNC cutter). Currently, I'm exporting to SVG, and sorting out the cut vs. fold lines in Inkscape, but it is a bit tedious.
I'm looking for a way (in python) to attach a custom string, boolean or numeric property to individual sketch lines, which would allow me to automatically select the cut or fold lines when exporting.
I'm a programmer, but I'm new to FreeCAD scripting. Is it possible to add a custom property similar to the
Code: Select all
.Construction
FreeCAD info:
Code: Select all
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.Unknown
Build type: Release
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17