Commit Graph

329 Commits

Author SHA1 Message Date
Günter Neiß
109721fb0d OpenSCAD: remove SCAD-Import error in importCSG.py
Signed-off-by: Günter Neiß <gneiss@web.de>
2022-08-03 12:42:43 -04:00
Uwe
ae2b73567d [SCAD] remove unnecessary Python 3 check
we only support Python 3
2022-07-31 05:26:03 +02:00
Uwe
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
Yorik van Havre
baa1105a53 Merged crowdin translations 2022-06-12 11:56:37 +02:00
Yorik van Havre
68e8c19aaf Merged crowdin translations 2022-06-09 13:40:35 +02:00
Yorik van Havre
b06f247f9f Merged crowdin translations 2022-06-08 12:28:54 +02:00
Yorik van Havre
e8f1bde367 Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
34502193a2 i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Yorik van Havre
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
Chris Hennes
dabd109586 OpenSCAD: Fix typo in prototype 2022-05-19 10:12:30 -05:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
Yorik van Havre
a4a0d11eca Merged crowdin translations 2022-04-21 14:18:33 +02:00
Yorik van Havre
35bb6278ea merged crowdin translations 2022-04-13 13:47:06 +02:00
Chris Hennes
2c6af06fe9 OpenSCAD: Fix difference action bug 2022-04-02 23:29:30 -05:00
Stefan Brüns
7cac8787a4 [OpenSCAD] Avoid writing temporary parse cache file
Creating the parsetab.py cache file in a system wide fixed location
(e.g. /tmp/parsetab.py) creates problems when a computer is used by
different users. Also the file is never removed, which is not very nice.

Caching provides hardly any benefit here, as it only takes milliseconds,
and may even be negated by the additional required filesystem operations.

Fixes (part of) #6315.
2022-03-31 10:39:49 -05:00
Yorik van Havre
cb9dda7084 Merged crowdin translations 2022-03-31 11:41:28 +02:00
Chris Hennes
22e83879f3 OpenSCAD: PR4556 Step 3: sort QGridLayout by row-col 2022-03-28 10:43:22 -05:00
Chris Hennes
380d62775a OpenSCAD: PR4556 Step 2: remove native=true 2022-03-28 10:43:21 -05:00
Yorik van Havre
1dd773e7b3 Translations: Merged crowdin strings 2022-03-23 10:37:50 +01:00
Yorik van Havre
6efe74a554 Merged crowdin translations 2022-03-14 12:21:01 +01:00
Yorik van Havre
7653a9473d Merged crowdin translations 2022-03-07 14:55:22 +01:00
Yorik van Havre
5aec63d704 Updated master translation files 2022-03-07 14:49:13 +01:00
Chris Hennes
9dd852202b OpenSCAD: Warning message tweaks 2022-02-24 09:08:43 -06:00
Chris Hennes
2931c3ccb6 OpenSCAD: Fix for empty groups 2022-02-23 21:21:57 -06:00
wmayer
d06a17da21 OpenSCAD: make sure all unit tests pass in command line mode 2022-02-21 12:38:50 +01:00
Yorik van Havre
19b89b1085 Merged crowdin translations 2022-02-14 12:31:57 +01:00
Chris Hennes
2a79ce4bdc OpenSCAD: Support installation into read-only locations 2022-02-12 16:15:38 -06:00
Chris Hennes
71130d31b0 OpenSCAD: Add missing geometry check 2022-02-10 20:54:23 -06:00
Chris Hennes
4f3e4eff03 OpenSCAD: More fixes from Keith Sloan 2022-02-07 13:15:48 -06:00
Yorik van Havre
b0b1c0afbb Merged crowdin translations 2022-02-01 12:59:42 +01:00
Chris Hennes
b8b3cea035 OpenSCAD: Fixes in several actions from Keith Sloan 2022-01-30 20:19:20 -06:00
Yorik van Havre
b3e2c87530 Merged crowdin translations 2022-01-26 14:15:14 +01:00
luz paz
78d0fc786a OpenSCAD: pep8-ified + removed superfluous whitespace + uniform headers 2022-01-23 19:52:37 -06:00
Chris Hennes
1f70e352a8 OpenSCAD: Rewrite fixVisibility() to use rootObj
The original algorithm tried to use a heuristic to calculate which
objects should be shown or hidden, based on the object name. This commit
replaces that heurstic with a request for the list of root objects from
FreeCAD, which is then filtered to remove those that existed before the
import. Any descendant of those root objects is hidden, and the root
made visible, in keeping with the design of the CSG importer.
2022-01-11 14:04:57 -06:00
luz paz
b70c7b6323 Fix superfluous whitespace in various files 2022-01-09 21:01:42 -06:00
luz paz
b0fcf45513 Fix various superfluous whitespace in *.dox files 2022-01-09 21:01:42 -06:00
Yorik van Havre
6cb3782c03 Merged crowdin translations 2021-12-29 12:20:12 +01:00
Chris Hennes
0b50daec4d OpenSCAD: Handle missing script element from text() 2021-12-18 16:23:31 -06:00
Yorik van Havre
a26fb4db1a Merged crowdin translations 2021-11-16 17:30:39 +01:00
Chris Hennes
02c1277a1d OpenSCAD: Minor cleanup of import code 2021-11-07 21:50:48 -06:00
Chris Hennes
058962362d OpenSCAD: Refactor tests to all use the same code path for tempdir generation 2021-11-07 17:13:51 -06:00
luz paz
bb108cff95 Fix user facing typos [skip ci]
Typos in Draft and OpenSCAD code.
2021-10-06 18:11:48 -04:00
Chris Hennes
eb9f47048a Merge pull request #5075 from chennes/openSCADSandboxingFix
[OpenSCAD] Add ability to communicate over stdin/stdout (to support Snaps, etc.)
2021-09-29 14:29:57 -05:00
Chris Hennes
62bd69e53d [OpenSCAD] Update STL unit test to warn on pipes
If OpenSCAD or FreeCAD is set up to use pipes for communication, assume
it's because one or the other is sandboxed. In that case, OpenSCAD will
not be able to import the generated STL file from FreeCAD, so don't try
to run that test.
2021-09-29 10:24:11 -05:00
Chris Hennes
2e504ab3b6 [OpenSCAD] Add ability to communicate via pipes
In 2021.01 OpenSCAD added the ability to read from stdin and write
output to stdout: this allows us to communicate with an OpenSCAD process
that does not have read/write access to the same directories that
FreeCAD does (for example, if one or the other is installed via a Snap
package).

This commit adds an additional preference to the OpenSCAD workbench
allowing the user to choose between communication methods, as well as to
optionally specify their own temporary directory for the data transfer,
for use in cases where their version of OpenSCAD is installed via Snap,
etc., but does not yet support the piped input and output.
2021-09-29 09:36:58 -05:00
Yorik van Havre
77925c428e Updated ts files 2021-09-29 14:32:12 +02:00
Yorik van Havre
b042405933 Merged crowdin translations 2021-09-23 17:14:48 +02:00