hello.vectronic@gmail.com

I finished the DIY fit-out of my lab/office/study late last year.

A lot of planning and design was done before I started cutting into flat-pack furniture with the circular saw.

I’m very pleased with the result. This is a good thing as I’ll be spending a significant portion of my life for the coming years here.


hello.vectronic@gmail.com

I’ve been developing a FreeCAD macro for a while with the following aims:

  • Get to grips with FreeCAD and parametric modelling concepts: sketches, constraints, datum planes etc.
  • Learn Python and use it for FreeCAD scripting

To really push the boundaries, I challenged myself to use Python scripting in conjunction with the PartDesign workbench: I wanted to end up with a parametric model fully based on sketches and datum planes.


hello.vectronic@gmail.com

There are several limitations when referencing items in FreeCAD via Python script. This includes needing to reference Part items such as edges and faces by name, whilst the names are liable (and likely) to change each time the model is modified.

There are also a number of exposed native methods in the Python scripting layer which expect (rarely documented) integer based constants. In this post I collate what I’ve learnt about these constants for future reference.