suks.ae
2f59c6191b
fixed debug rectangle to be painted with ANNOTATIONS color
2022-06-05 22:37:00 +02:00
suks.ae
af8a30287e
Add burn value to reference text
2022-05-27 15:16:50 +02:00
suks.ae
ec0d24efd2
Fix svg text alignment for "middle"
...
See https://stackoverflow.com/questions/19212498/firefox-support-for-alignment-baseline-property/21373135#21373135
2022-05-27 15:05:37 +02:00
Florian Festi
4a339a31db
White space in comments
2022-05-27 14:53:40 +02:00
suks.ae
20f45224fb
Add MountingEdge
...
and add it to top_edge.
2022-05-27 14:53:40 +02:00
SuksAE
363b474b46
Add parameter "hole_dD" to .buildArgParser()
2022-05-15 10:23:14 +02:00
SuksAE
1bb4b8c0c3
Added pear shaped mounting hole drawing function ( #392 )
...
and add them to BinTray and TrafficLight
Add labels to the parts of these generators
Add doc strings to all hole types
2022-05-15 07:55:53 +02:00
Florian Festi
50072a18b7
Add stackable edge with finger holes to top_edge
...
standard parameter and support it in drawLid()
2022-05-08 12:18:15 +02:00
Florian Festi
70c49afb57
Don't render empty part labels
2022-03-28 21:42:06 +02:00
suks.ae
e8b88e53f1
add Lightburn .lbrn2 file format support
2022-03-27 22:02:44 +02:00
Florian Festi
a7063011b5
Add inner_corner default setting
...
to allow removing the loops in inner corners
Related: #294
2022-03-20 19:04:27 +01:00
Florian Festi
ea4036b3d4
ArgparseEdgeType: Re-enable Inkscape format
...
Got dropped in ecf14540f5
while moving to
Inkscape 1.0.
Related: #369
2022-02-18 10:46:11 +01:00
Florian Festi
d29c8f7138
Consistent units for standard parameters
2022-01-09 16:20:58 +01:00
Florian Festi
e28976d5e3
Add doc link for tabs param
2022-01-07 22:22:03 +01:00
Florian Festi
72a111a100
Shorten parameter descriptions to fit in one line
...
The additional information is now available via help link to the user
documentation.
2022-01-07 22:22:03 +01:00
Florian Festi
9b0c842522
Fix docstring formatting
2022-01-03 13:42:40 +01:00
Florian Festi
acf4e81159
Add links to documentation to web UI
...
for some of the parameters
2022-01-03 13:30:43 +01:00
Florian Festi
d5654137a4
RoundedBox: Allow arbirtary horizontal layers
...
by changing h param to sh.
Also surroundingWallPiece to get the dimmensions of each section in the
surrounding wall.
Resolves : #339
Thanks to Florin Furdi for the idea!
2022-01-02 13:48:32 +01:00
Florian Festi
ee2baab396
flangedWall: Allow other edge types
...
for sides without flange. Support "e" edges for sides with flanges
(along with "E" and "F")
Resolves : #347
2021-12-04 16:02:25 +01:00
Florian Festi
ad1be4c361
Fix placement of rectangularTriangle(s)
...
That was broken by fcefddca1e
. Turns out
the the handling of self.spacing (distance between parts was not handled
properly.
Resolves : #346
Thanks to Guillaume Collic for reporting!
2021-12-01 23:37:02 +01:00
Mateusz Konieczny
62b30e3d88
fix some typos with codespell
2021-11-03 15:34:38 +01:00
Florian Festi
f6fa4967ab
surroundingWall: Fix size calculation
...
Resolves : #297
2021-09-21 23:01:53 +02:00
Florian Festi
fcefddca1e
rectangularTriangle: Improve spacing
2021-09-21 22:52:10 +02:00
Florian Festi
eb84f0e0ac
rectangularTriangle: Fix placement
...
Resolves : #308
2021-09-19 16:52:29 +02:00
Florian Festi
8030faadd6
rectangularTriangle: Fix outset edges in hypothenuse
2021-09-19 16:50:39 +02:00
Florian Festi
9cb038ef0a
Quote cli in meta data to not contain line breaks
...
Resolves : #327
2021-06-25 22:13:13 +02:00
jens persson
2d262dacdd
Allow labeling of parts
...
Add a parameter label to rectangularWall(), flangedWall(),
rectangularTriangle(), trapezoidWall(), trapezoidSideWall() that is rendered
in red to identify parts, it is not ment to be cut or etched.
Added --labels flag to enable/disable rendering of labels.
Resolves : #316
2021-06-11 22:29:23 +02:00
jens persson
9a46882c8f
Add color selection to all holes
...
All methods that uses the holeCol decorator now take a parameter color.
Added semantic symbols for colors.
2021-06-03 21:40:11 +02:00
Florian Festi
e5f88eda4c
Fix typo
2020-11-09 19:15:48 +01:00
Florian Festi
adc3ec5210
Fix polygonWalls()
...
Not calling .stroke() now creates a error with the new backend.
Thanks to Michel27290 (https://hackaday.io/hacker/1123712 ) for reporting!
2020-10-16 11:38:30 +02:00
Marcin Zukowski
dfc2f075d9
Adding Grooved Edge (z, Z), example use in UnevenHeightBox
2020-09-29 20:40:18 +02:00
Guillaume Collic
eba63d9acb
Add option to do rectangular holes without centering them
2020-09-20 12:37:29 +02:00
Florian Festi
7fd4306664
Add h edge to top_edge parameter
...
Resolves : #244
2020-09-19 22:39:30 +02:00
Florian Festi
812b3ad59a
regularPolygonWall: Fix size calculation
2020-08-16 15:02:56 +02:00
Ba-So
d34d6ed987
fixed proper use of settings in paintbox.py
2020-08-15 09:47:40 +02:00
Ba-So
f6e2773810
fixed bug where the option hexpattern=True would cause an error.
2020-08-14 12:30:21 +02:00
Guillaume Collic
676772ee64
Clarify rectangularHole x,y parameters (center)
2020-08-13 00:38:54 +02:00
Florian Festi
bdc6a4c110
Add screwholes param to Boxes.NEMA()
2020-08-04 19:33:11 +02:00
Florian Festi
59564a58a7
Only add "unless outside selected" if "outside" param is present
...
Void confusing users if outside param is missing but still be mentioned in
the help text.
2020-08-04 19:33:11 +02:00
Florian Festi
e643e07b4d
Add HexHolesSettings class
...
to get rid of the settings tuple and to support changing them in the UI
Related: #33
2020-08-04 19:33:11 +02:00
Florian Festi
02a7299618
Fix text alignment attributes
...
Was broken for "left"
Resolves : #228
2020-07-04 23:56:37 +02:00
Florian Festi
07e53868f6
Remove duplicated "f" option in top_edge parameter
...
Thanks to Zhong for pointing this out!
2020-05-22 13:32:43 +02:00
Florian Festi
2fc59b48df
Remove reference to cairo
2020-05-18 22:30:28 +02:00
Florian Festi
39e2b0cfc3
Split all arcs > 100° into smaller pieces
...
This is necessary to make the approximation with Bezier curves work
2020-05-18 22:30:28 +02:00
Florian Festi
6440bcb639
Get text working for both SVG and PS
...
Move coordiate translation to to finish() method
Use Latin1 encoding for text PS in output
Add Boxes.set_font() to support basic font styles:
serif, sans-serif and monospaced
in normal, bold, italic and both bold and italic
2020-05-18 22:30:28 +02:00
Florian Festi
fddf78fcc3
Add metadata to the SVG files right away
2020-05-18 22:30:28 +02:00
Thomas Kalka
fd48e57f33
Implement new backend without cairo
...
by providing SVGSurface, PSSurface and Context classes
Disable post processing as we want to create proper files right away
2020-05-18 22:30:28 +02:00
Thomas Kalka
da0e390789
do not start holes with the corner
2020-05-18 22:30:28 +02:00
Florian Festi
6091cf955f
Comsole2: Move to Box group in the UI
2020-05-10 16:13:54 +02:00
Florian Festi
27264f8c08
New fingerHoleRectangle() function
2020-05-10 16:12:27 +02:00