[PythonCAD] components?

Russ Nelson nelson at crynwr.com
Wed Jun 7 17:31:53 CEST 2006


Is there a way to create components in PythonCAD?  There are two ways
components might work: held together as a set of objects, or inserted
into a drawing as unaggregated objects.  The latter is already
implementable using cut and paste.  Load up a component's drawing in a
File/New window, select the entire thing, Edit/Copy, go back to the
first drawing, and paste.

The trouble with smashing components is that if you need to change the
component, you need to go back and change it everywhere it was used.

The trouble with keeping component objects together is that you need
to treat it like a single object, with its own transformation matrix
(translation / mirroring / rotation).  Ugh.

-- 
--my blog is at    http://blog.russnelson.com   | When immigration is
Crynwr sells support for free software  | PGPok | outlawed, only criminals
521 Pleasant Valley Rd. | +1 315-323-1241       | will immigrate.  Illegal
Potsdam, NY 13676-3213  |     Sheepdog          | immigration causes crime.


More information about the PythonCAD mailing list