Florian Festi
a364f603a8
Add extra_length to Finger Joint Settings
...
to allow extending the finger joints so burn marks can be ground off.
Thanks to all who have been pushing for this feature!
Resolves : #270
2022-01-16 15:18:11 +01:00
Florian Festi
b7b74ab27f
Settings: Add "multiple of thickness"
...
where appropriate. Before that not indication on what the numbers
actually mean were given.
2022-01-07 22:22:03 +01:00
Florian Festi
5810314331
DoveTailEdge: Fix edge without dove tails
2022-01-05 18:29:09 +01:00
Marcin Zukowski
2538f2fef3
Add optional "finger hold" to the sliding lid, present if "hole_width" > 0.
...
Also:
* add comments for the sliding lid parameters
* move groove-cutting logic to helper methods
Example usage:
scripts/boxes UniversalBox --bottom_edge=F --top_edge=L --Lid_spring=none --Lid_style=springs --x=100.0 --y=100.0 --h=100.0 --reference=0 --thickness=3.0 --Lid_hole_width=20
2021-06-12 11:46:37 +02:00
Florian Festi
bdca0f1422
New StackableFeet edge without finger holes
...
first use of non ASCII edge char - what can you do...
2021-05-15 15:45:25 +02:00
Florian Festi
b132569219
SlatWallSettings: Add hook_depth setting to fit into other slot styles
...
Some are not as deep as the ones this was originally created for
2021-04-18 18:27:44 +02:00
Florian Festi
29183ed7ed
SlatWalls: Make pitch of the wall adjustable
...
Resolves : #312
2021-04-17 11:44:47 +02:00
Florian Festi
632a96676a
Fix typo in RoundedTriangleFingerHolesEdge
2020-11-11 00:35:22 +01:00
Florian Festi
47d3600016
Add RoundedTriangleFingerHolesEdge (T)
2020-11-09 19:15:55 +01:00
Marcin Zukowski
dfc2f075d9
Adding Grooved Edge (z, Z), example use in UnevenHeightBox
2020-09-29 20:40:18 +02:00
Florian Festi
e35447e536
Fix FlexEdge to use separate path for the flex cut
...
to allow continous outlines for parts.
Resolves : #242
2020-09-15 17:44:58 +02:00
Florian Festi
a0c04d10ca
Add description to ClickSettings
2020-08-04 23:42:12 +02:00
Florian Festi
7c004e2d2c
New primitive: Boxes.step()
...
Outset a line by a given margin - negative values for insetting
2020-02-28 17:46:44 +01:00
Florian Festi
dd0f2d748c
ChestHingeSettings: check pin_height for minimal size
2020-02-01 14:27:17 +01:00
Florian Festi
0f3eb5b21a
StackableSettings: check angle for invalid values
2020-02-01 14:16:26 +01:00
Florian Festi
8cb5a8e042
Check values of flex settings
2019-12-14 13:09:43 +01:00
Florian Festi
fe9555a79f
checkValues
2019-12-14 13:09:43 +01:00
Florian Festi
83b5363bc8
StackableEdge: Fix margin for upper (S) variant
2019-11-04 17:05:18 +01:00
Florian Festi
cfbcbb065c
Clarify doc string for FingerJointSettings.play
2019-10-19 12:03:57 +02:00
Florian Festi
13ecfc9914
Support springs for finger joints (FingerJointSettings.style)
...
Resolves : #177
2019-10-11 22:32:57 +02:00
Florian Festi
9db79243f8
Make Slide-on Lid with pin easier to insert
...
Make slot half a thickness wider and round the corners
Resolves : #156
Thanks to Matthijs Kooijman for suggesting this change!
2019-08-17 00:05:13 +02:00
Matthijs Kooijman
8ecf04cbe8
Fix handling of space in LidSideRight/Left
...
Previously, the extra space was added above the first pin and below the
(optional) second pin. This would cause the lid to misalign with the
holes in the back wall, making it harder to close the lid.
With this commit, the extra space is divided evenly above and below the
nominal position of the pin.
For this to work, the startwidth (or endwidth, depending on the side) is
slightly adjusted (since the start of the first pin slot is actually
generated by the adjacent edge). This moves the starting point, so the
location of the spring hole is adjusted to compensate for that.
2019-07-27 13:30:06 +02:00
Matthijs Kooijman
3bd4dc9907
Fix spring hole offsets by burn in LidSideRight/Left
2019-07-27 13:30:06 +02:00
Matthijs Kooijman
4691a65a29
Let LidSideRight/Left respect edge_width
...
This allows modifying the height of the wall that extends above the lid.
The box back wall (with holes) would already support edge_width, so this
makes it supported on all three walls where needed.
2019-07-27 13:30:06 +02:00
Matthijs Kooijman
db1da4ec12
Fix hole positions offset by burn in FingerHoleEdge
...
When rendering the FingerHoleEdge, the current position would be
corrected for burn (e.g. it would be on the center of the laser path,
rather than the actual edge of the final part). However, the FingerHoles
class (or actually the rectangularHole method called by it) that draws
the actual holes already corrects for burn, which caused the hole
position to be offset by the burn value.
This offset was particularly problematic when making a sliding lid,
since the holes would not align perfectly with the lid, making it hard
to close the lid. With this change, the sliding slots in the side walls
and the holes in the back wall align perfectly (though only when the lid
settings have zero play, which is a separate problem).
This commit fixes FingerHoleEdge (and its subclass LidHoleEdge), but
there might be other users of the FingerHole class (usually indirectly
through boxes.fingerHolesAt) that still have the same problem.
2019-07-27 13:30:06 +02:00
Matthijs Kooijman
eeb2c344d5
Clarify where l and L edges should be used
2019-07-27 13:30:06 +02:00
Florian Festi
db706fc939
SlatWall edges: Make bottom hook selectable, various fixes
2019-06-21 21:36:28 +02:00
Florian Festi
5cef906a9a
Add SlatWallHoleEdge (dD) classes
...
Similar to FigerHolesEdge (h)
2019-06-21 18:47:29 +02:00
Florian Festi
aadf5ceafc
Add Edge types, example and UIGroup for slat wall compatible boxes
2019-06-13 19:00:32 +02:00
Florian Festi
7aec26e893
New .polygonWall() part
...
Similar to .polyline() but with (f) edges on the outside
.polygonWalls draws the surrounding walls
2019-03-24 21:50:36 +01:00
Florian Festi
cbb000f12e
DoveTailJoint: remove no longer needed ctx.translate
2019-02-24 14:45:57 +01:00
Florian Festi
abed8c06ac
FingerHoles: use .saved_context()
2019-02-24 14:42:48 +01:00
Florian Festi
72617110cf
FingerHoleEdge: Use modern code and add tab support
2019-02-24 13:14:21 +01:00
Florian Festi
eb5f3008da
RoundedTriangleEdge: Add tabs
2019-02-24 12:16:47 +01:00
Florian Festi
9b1ce265bf
Make docstrings ready for autodoc
2019-02-13 09:01:20 +01:00
Florian Festi
2e5a19a40f
Python 2 compat fix
2019-01-12 18:42:44 +01:00
Florian Festi
dac6b3ac3d
Fix Edge descriptions
...
Add descriptions for edges that don't have their own class
Make ChestHingeFront sub class of Edge as BaseEdge no longer draws anything
2019-01-12 15:28:17 +01:00
Florian Festi
1739d11af5
Doc string for GearSettings
2019-01-12 15:28:17 +01:00
Florian Festi
ba3cacbf93
RoundedTriangleEdge: Add outset setting
2019-01-12 00:07:22 +01:00
Florian Festi
31fd0024ee
Add RoundedTriangleEdge t
...
Based on the Caddy generator by bobm123 in the PR #14
(https://github.com/florianfesti/boxes/pull/14 )
Edge will be added to the TypeTray generator to achieve similar results as Caddy
Co-authored-by: bobm123 <bobm123@gmail.com>
2019-01-11 23:56:28 +01:00
Florian Festi
b7bd6306d1
Fix division by zero in FlexEdge
2018-11-05 21:38:49 +01:00
Florian Festi
60cb0eed87
CabinetHinge: Add style param with new value outside
2018-10-04 22:18:07 +02:00
Florian Festi
fc127237fd
Fix placement of fingerHoles in CrossingFingerHoleEdge
...
which were too low by one burn
2018-08-27 15:12:17 +02:00
Florian Festi
0e8a718a1b
Fix placement of debugging rectangel for FingerHoles
...
Not the outer border of the lines are exactly at the border of the matching
part
2018-08-27 15:10:50 +02:00
Florian Festi
cd0fcdcb96
Set a char for CrossingFingerHoleEdge tp avoid collision with the "e" edge.
2018-07-02 19:13:52 +02:00
Florian Festi
f99bf32c85
Add hinges and spacing params to CabinetHingeEdge
2018-05-08 23:55:09 +02:00
Florian Festi
73438fb614
Fix .__getattr__ of Settings class so it can be passed to copy.copy()
2018-04-25 21:52:51 +02:00
Florian Festi
90ba9f8ee9
LidEdge: Fix duplicated option for spring
2018-03-05 20:10:55 +01:00
Florian Festi
78d35a92e0
Fix CrossingFingerHoleEdge
...
which relies on __call__() of the super class drawing a line
2018-02-12 22:04:20 +01:00
Florian Festi
4e034949d3
Fix tabs for straight edges (eE) with bed bolts
...
Add tabs param to bedBoltHole
2018-01-19 23:48:27 +01:00