updated list of used edge characters in documentation

added reserved chars for generator use
changed generator template to reserved char
This commit is contained in:
suks.ae 2022-04-02 09:52:34 +02:00 committed by Florian Festi
parent 17009eed85
commit 3d7986f130
2 changed files with 22 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class BOX(Boxes): # Change class name!
space = 10, finger=10,
width=self.thickness)
p = edges.FingerJointEdge(self, s)
p.char = "p"
p.char = "a" # 'a', 'A', 'b' and 'B' is reserved for beeing used within generators
self.addPart(p)
# render your parts here

View File

@ -28,6 +28,9 @@ classes have a number of methods to deal with these kind of offsets.
A set of instances are kept the ``.edges`` attribute of the
``Boxes`` class. It is a dict with strings of length one as keys:
* aAbB : reserved to be used in generators
* c : ClickConnector
* C : ClickEdge
* d : DoveTailJoint
* D : DoveTailJointCounterPart
* e : Edge
@ -38,8 +41,26 @@ A set of instances are kept the ``.edges`` attribute of the
* h : FingerHoleEdge
* ijk : Hinge (start, end, both sides)
* IJK : HingePin (start, end, both sides)
* L : LidHoleEdge
* l : LidEdge
* M : LidSideLeft
* m : LidLeft
* N : LidSideRight
* n : LidRight
* Oo : ChestHinge
* Pp : ChestHingeTop
* Q : ChestHingeFront
* q : ChestHingePin
* R : RackEdge
* s : StackableEdge
* S : StackableEdgeTop
* š : StackableFeet
* T : RoundedTriangleFingerHolesEdge
* t : RoundedTriangleEdge
* uUvV : CabinetHingeEdge
* X : FlexEdge
* Z : GroovedEdgeCounterPart
* z : GroovedEdge
Edge base class
---------------