Florian Festi
6b8b5645c2
Add lxml as soft dependency in the install section of the docs
2017-03-10 23:00:42 +01:00
Florian Festi
121e2107fb
Import lxml locally to avoid hard dependency
...
The code is used in the Inkscape plugin only.
2017-03-10 23:00:41 +01:00
Florian Festi
4ab1dcc323
RoundedBox: Fix description
2017-03-06 22:24:05 +01:00
Florian Festi
eecbceda11
Rename Box2 -> UniversalBox
2017-03-06 22:24:05 +01:00
Florian Festi
47f3037e23
rename Box3 -> OpenBox
2017-03-06 22:24:05 +01:00
Florian Festi
5026c2bc03
Rename Box5 -> HingeBox
2017-03-06 22:24:05 +01:00
Florian Festi
e5b19978dd
Rename Box4 -> IntegratedHingeBox
2017-03-06 22:24:05 +01:00
Florian Festi
75b7724255
Rename Box -> ClosedBox
2017-03-06 22:24:05 +01:00
Florian Festi
5956182328
Parts.ringSegment()
2017-03-05 12:52:44 +01:00
Florian Festi
5e33d057fc
UBox: Limit radius to possible values and merge flex if radii touch
2017-03-04 15:29:28 +01:00
Florian Festi
0398c3ae98
Remove Traylayout from the Inkscape plugin
...
as the two stage input does not work with the INkspace plugin system
2017-03-03 22:20:44 +01:00
Florian Festi
6cae3d7dc7
Filter out --id passed from Inkscape
...
Move message about missing generator to stderr
2017-02-26 18:54:34 +01:00
Florian Festi
a0d992f43a
Stop printing random stuff on stdout
2017-02-26 17:02:16 +01:00
Florian Festi
2c721a98f1
Add install.rst, remove TODO.rst
...
Todos moved to GH as issues
Some description on installation and the Inkscape plugins
2017-02-26 13:47:06 +01:00
Florian Festi
5eeb3f5811
Ignore inx files
2017-02-25 20:02:31 +01:00
Florian Festi
42ab40da86
Build and ship inkscape inx files
2017-02-25 20:01:03 +01:00
Florian Festi
41bc4d028f
Use sys.stdout.buffer to be able to write bytes (for Python 3 compat)
2017-02-25 19:59:53 +01:00
Florian Festi
cb8ebefeb1
Fix Servo.choices() and use it in robotarm
2017-02-25 19:59:16 +01:00
Florian Festi
5ef277fc21
boxes2inkscape: Execute boxes directly, add dependency
...
Default to str as type of inputs
2017-02-25 19:45:55 +01:00
Florian Festi
174b20fc11
Fix main
2017-02-25 19:40:24 +01:00
Florian Festi
a81ba48d45
Take viewBox and size of SVG documents into account when merging them
2017-02-25 16:10:28 +01:00
Florian Festi
ce87babfdd
RoundedBox: Fix hole size
...
Size calculation was wrong but compensated the broken size adjustment with
"outside" set.
2017-02-25 15:52:51 +01:00
Florian Festi
490d089a83
Planetary: Python2 fix. // doesn't allow floats in Python 2
2017-02-25 11:24:58 +01:00
Florian Festi
d4edafe2d9
Fix ChestHingeSetting
...
Got broken by 6756d16b67
2017-02-23 20:57:01 +01:00
Florian Festi
e0a4d06c43
Hackish way to make scriptsboxes to work with Inkscape.
2017-02-23 17:38:26 +01:00
Florian Festi
ff7ee22885
Add svgutil.svgMerge() allwing to add generated box into anoterh svg
...
Implemetation has still many short comings. E.g. assumes units and layout of
document passed in. Also assumes to be merged document to be generated by
boxes.py.
2017-02-23 17:38:26 +01:00
Florian Festi
39e74e67ba
Add scripts/boxes2inkscape for generating inx files from box generators
...
Code for handling traylayout still missing.
2017-02-23 17:38:26 +01:00
Florian Festi
a93e280477
Make reference a separate path object
...
Avoid it being merged with teh first par tof the drawing
2017-02-23 17:38:26 +01:00
Florian Festi
b9fef2c6e1
Follow symlinks when determining path of boxes library from executable
2017-02-23 17:38:26 +01:00
Florian Festi
e23d8034c5
Make BoolArg accept upper and lower case values
2017-02-23 17:38:26 +01:00
Florian Festi
b440d1c767
Use BoolArg when creating arg parser for edges.Settings
2017-02-23 17:38:26 +01:00
Florian Festi
1b3f9dbc3a
Robotarm: Generator for servo powered robot arm segments
2017-02-22 22:33:22 +01:00
Florian Festi
40d53ac1ba
Robot parts: Initial commit
2017-02-22 22:33:22 +01:00
Florian Festi
1bed3f2a39
rectangularWall() fix positioning with ignore_widths
...
containing parts of the lower left corner.
2017-02-22 20:01:29 +01:00
Florian Festi
3cad4f27af
Add tangent() function
2017-02-22 20:01:28 +01:00
Florian Festi
d2774f151d
Lamp: fix no longer valid default in setting
2017-02-18 19:13:57 +01:00
Florian Festi
cc577956a4
Flexbox3: Fix radius of lid
...
May still be off a bit. But I can't see why...
2017-02-18 19:06:10 +01:00
Florian Festi
117ace3233
FlexBox3: Fix finger joints of lid
2017-02-18 19:06:10 +01:00
Florian Festi
1f9342b678
Castle: Make available in UI and adjust to current code base
2017-02-18 19:06:10 +01:00
Florian Festi
6756d16b67
Use .settings.thickness in edges instead of global value
2017-02-18 19:05:21 +01:00
Florian Festi
6264798655
Boxes.py link - next try
2017-02-15 22:03:52 +01:00
Florian Festi
7e672eced2
Fix link back to menu in generators
2017-02-15 22:01:26 +01:00
Florian Festi
065130a19b
Python 2 compat: use codes to read css
2017-02-15 21:50:54 +01:00
Florian Festi
527388c5f2
Update text on menu page
2017-02-15 15:56:38 +01:00
Florian Festi
96708189a8
Add license header
2017-02-15 15:56:02 +01:00
Florian Festi
561eb0034c
Add "Unstable" UIGroup
2017-02-15 15:55:01 +01:00
Florian Festi
1e67ee7035
Clean up todo list
...
Remove item resulting in Box4 and Box5 from todo list
Settings for flex got added
2017-02-13 23:18:08 +01:00
Florian Festi
a71f9a2bed
Web UI tweaks
2017-02-13 23:15:02 +01:00
Florian Festi
d3c76f2b9e
Put box generator into groups and adjust the menu web page accordingly
2017-02-13 17:31:58 +01:00
Florian Festi
5a0f3d42ea
Add UIGroup class and instances for structuring the box generators
2017-02-13 17:31:02 +01:00