Commit Graph

47 Commits

Author SHA1 Message Date
Chris Palmer
7c2df8d36d The pose module can now specify the camera distance supressing viewall and
autocentre.
2021-02-20 19:28:52 +00:00
Chris Palmer
fc44b43638 Temporary files used during make_all and tests now in tmp dir. 2021-02-09 09:52:26 +00:00
Chris Palmer
182f39876a Moved deps directories to separate stl deps from views deps. 2021-02-09 09:18:30 +00:00
Chris Palmer
079168142b Views.py and plateup.py now define $cwd and $target. 2021-02-06 15:12:21 +00:00
Chris Palmer
cb30f0c63d Times for parts that no longer exist pruned from build times.
Now shows changes to the total time.
2021-02-06 10:39:39 +00:00
Chris Palmer
36521cf0b9 Set ngb parameter of assembly() to remove it from the global BOM and merge
its parts into it parent's global BOM column.
2021-02-03 06:21:17 +00:00
Chris Palmer
f7fbbd5fe4 No longer runs markdown twice to make printme.html.
Instead uses empty spans to mark page breaks and then replaces them.
2021-02-01 00:10:54 +00:00
Chris Palmer
a769a38dff Generation of the html files included in the build times. 2021-01-31 10:52:26 +00:00
Chris Palmer
0485eeeb34 Removed page break at the end for printme.html 2021-01-31 10:50:20 +00:00
Chris Palmer
0a7208ff5a Fixed codespell path for multi-target builds. 2021-01-31 10:47:54 +00:00
Chris Palmer
46937e403e Better use of Python regex facilities. 2020-12-30 09:48:46 +00:00
Chris Palmer
8d22940506 Project blurb can now be split with into sections with markdown horizonal rules
made with asterisks.
If an image is include in the first section the default image is supressed.
2020-12-28 20:49:37 +00:00
Chris Palmer
17b12c7f31 views.py now uses enumerate() to be more Pythonic. 2020-11-29 12:21:38 +00:00
Chris Palmer
7e0c5fdb6e Renders of STLs are now the correct colour. Fixes #71 2020-04-05 16:18:24 +01:00
Chris Palmer
bc4e18d788 The assembly module now has a big parameter to force large or small views. 2020-04-04 12:06:14 +01:00
Chris Palmer
2210396234 Now uses the dependencies to locate modules for printed parts and assemblies. 2020-03-12 22:47:27 +00:00
Chris Palmer
23a64f238d Added usage messages to all the scripts and documented multiple configuration
projects.
2020-03-11 23:09:03 +00:00
Chris Palmer
f7db793c74 Assembly module search in views.py now case insensitive
allowing the module name string to specify the capitalisaing used in the
build instructions.
2020-03-04 12:15:48 +00:00
Chris Palmer
53292c9f89 Filenames of tests can now be capitalised to get the correct titles.
The implementation files are still lower case for backwards compatibility.
2020-03-03 20:33:53 +00:00
Chris
3f209cbdd3
Merge pull request #60 from nophead/issue_57
Fix for issue #57, now searches multiple directories.
2020-03-02 18:38:36 +00:00
Chris Palmer
e32ef88c90 Small optimisation to views.py 2020-03-01 19:09:18 +00:00
Chris Palmer
343351155c Made library search order deterministic by sorting the result of os.listdir() 2020-03-01 17:53:20 +00:00
Chris Palmer
c41b1fa115 Fix for issue #57, now searches multiple directories. 2020-03-01 10:55:52 +00:00
Chris Palmer
07b00fabe0 Added a guard against and empty BOM in views.py. 2020-02-28 09:22:50 +00:00
Chris Palmer
b559319b03 Ensured all Markdown table heading markers have at least three dashes. 2020-02-27 10:15:37 +00:00
Chris Palmer
e9bc300b8d Fix for printed directory not present. 2020-02-24 23:58:22 +00:00
Martin Budden
ad3e8d85af Added scad/printed to stl search path. 2020-02-23 17:54:28 +00:00
Chris Palmer
e068918e21 Added screw threads to most things that are threaded.
Added a mechanism for tests.py and views.py to have command line options.
2020-02-22 19:44:01 +00:00
Chris Palmer
d703ae4997 Added male screw threads. 2020-01-10 10:26:12 +00:00
Chris Palmer
77aa8fe44d Merge branch 'master' into Execute_attributes 2019-08-18 14:30:28 +01:00
Chris Palmer
6fe4548213 Set execute attributes on scripts for Linux. 2019-08-18 14:29:15 +01:00
Chris Palmer
be324c31da Missing targets now named when dependency checking. 2019-08-18 10:53:22 +01:00
Chris Palmer
5ae040079e Now shows the CNC routed parts in the master BOM and total parts count. 2019-07-21 18:58:38 +01:00
Chris Palmer
fbc688c81f Vitamins now sorted alphabetically in build instructions. 2019-07-19 10:57:14 +01:00
Chris Palmer
bb6af0233d Removed debug code 2019-06-18 11:23:31 +01:00
Chris Palmer
774bdbe2cd Printed parts, dxfs and subassemblies now listed alphabetically.
JSON BOM now simplified and in required order.
2019-06-18 11:21:14 +01:00
Chris Palmer
8d49f2b564 Fixed assembly counts in json nexted BOM.
Fixed assembly counts in build instructions.
2019-06-17 19:34:46 +01:00
Chris Palmer
ad8d7ae311 Fixed adding subassemblies more than once to build instructions and BOM. 2019-06-17 17:36:28 +01:00
Chris Palmer
c1e31036eb Various bug fixed from moving printed parts. 2019-06-12 11:21:53 +01:00
Chris Palmer
405c8e00b8 Added documentation for the Python scripts. 2019-06-11 15:33:13 +01:00
Chris Palmer
85e1985f1a Restored explode lines to yellow.
Now keeps track of STL bounds and uses them to force a large assembly view when large.
2019-06-11 12:38:00 +01:00
Chris Palmer
00c6914e23 Try again GFM is so broken! 2019-06-11 08:46:38 +01:00
Chris Palmer
8297dc75ba Now makes the build instruction TOC manually because GFM does not implement [TOC] 2019-06-11 08:04:35 +01:00
Chris Palmer
fe27391aff Changed the colour scheme 2019-06-10 19:57:13 +01:00
Chris Palmer
e4fae0ba5f Added some leeway to image comparison
because it turns out OpenSCAD PNG generation is non-deterministic!
2019-06-10 10:00:47 +01:00
Chris Palmer
5af2302053 PNG files have a date in them so now only update them if they have actually changed. 2019-06-09 13:19:08 +01:00
Chris Palmer
34a9b0e87b Added source code 2019-06-08 22:10:47 +01:00