Commit Graph

221 Commits

Author SHA1 Message Date
hrobeers
aaf12da9d0 [OpenSCAD] consistent FreeCADGui imports, fixes headless CSG import 2020-09-14 13:28:40 +02:00
luz paz
59e3ea096e Crowdin: Merge new translations [skip-ci] 2020-08-07 17:17:35 +02:00
mwganson
1ce486f178 [OpenSCAD] Add 2 new commands: Scale and Resize, fix bug in Mirror mesh feature 2020-08-06 12:34:16 +02:00
wmayer
8280783795 OpenSCAD: [skip ci] set default of 16 for useMaxFN parameter 2020-08-06 09:47:25 +02:00
wmayer
4c1f029c25 OpenSCAD: [skip ci] set default of 16 for useMaxFN parameter 2020-08-06 08:48:53 +02:00
mwganson
5b56ce4d11 [openscad] mirror mesh feature -- rename OpenSCADUtils.mirror() to OpenSCADUtils.mirrormesh(), and provide some better interactive help information when typing OpenSCADUtils.mirrormesh() into the python console 2020-07-20 14:24:29 +02:00
mwganson
2c0b49ea46 [openscad] mirror mesh feature -- separate gui from function 2020-07-20 14:24:29 +02:00
mwganson
92b14ba161 [openscad] fix refine shape feature 2020-07-20 14:24:29 +02:00
mwganson
a1d7b128d2 [openscad] add updated icon to qrc file 2020-07-20 14:24:29 +02:00
mwganson
6ab4726126 [openscad] work on icon for mesh mirror 2020-07-20 14:24:29 +02:00
mwganson
4c259e43b3 [openscad] add icon for mirror mesh feature 2020-07-20 14:24:29 +02:00
mwganson
c5b93d698e [openscad] add ulrich's mirror mesh macro, fix error in refine shape 2020-07-20 14:24:29 +02:00
luz paz
3dfae3ba46 Merged crowdin translations 2020-07-13 14:49:45 +02:00
Yorik van Havre
fbfe821e8c Updated master ts files 2020-07-13 13:20:21 +02:00
wmayer
5c24b236f0 OpenSCAD: [skip ci] fix missing treeview icon 2020-06-23 12:34:25 +02:00
Keith Sloan
ea9c61869e fix resize 2020-06-05 13:17:34 +02:00
Keith Sloan
f333d9ca0f resize 2020-06-05 13:17:34 +02:00
Yorik van Havre
28b51cf28a Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
693e374f99 Updated source ts files 2020-04-29 15:41:26 +02:00
Yorik van Havre
0c1289282b Merged latest translations from crowdin 2020-03-05 11:58:03 -03:00
Bernd Hahnebach
3ad0fb5712 FEM and OpenSCAD: add some hint and remove not needed line 2020-02-12 23:28:37 +01:00
donovaly
f2c83ac46b remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
Yorik van Havre
d2b943e8b7 OpenSCAD: Fixed cmake file 2020-01-28 12:23:09 +01:00
Yorik van Havre
630fc040a9 OpenSCAD: Add warning if PLY module is not found 2020-01-28 12:22:08 +01:00
KeithSloan
0b623cbf0c Remove ply from OpenSCAD directory as installed as part of FreeCAD 2020-01-28 12:15:55 +01:00
Yorik van Havre
61daa6e2ba Fixed openscad 2020-01-14 13:14:22 +01:00
KeithSloan
6d2742c07c Update Ply to 3.11 2020-01-14 13:01:11 +01:00
Bernd Hahnebach
75b7cab2d1 OpenSCAD: file endings, normalize them and let git manage them 2019-12-19 22:26:24 +01:00
luz.paz
a00769bebf LGTM: remove unnecessary 'pass' statements
Issue: A pass statement is only necessary when it is the only statement in a block (the list of statements forming part of a compound statement). This is because the purpose of the pass statement is to allow empty blocks where they would otherwise be syntactically invalid. If the block already contains other statements then the pass statement is unnecessary.

Recommendation: Remove the pass statement.

Relevant links: 
1a82a5e136/files/src/Mod/Import/stepZ.py (x78f479c31a062553):1

1a82a5e136/files/src/Mod/OpenSCAD/OpenSCADCommands.py (xad4868ffcdf82498):1

1a82a5e136/files/src/App/FreeCADInit.py (x9034ec6815c48e38):1
2019-12-17 15:15:53 -03:00
wmayer
7415e3602a improve detection of OpenSCAD executable to print a more appropriate error message in case of failures 2019-11-06 16:09:50 +01:00
Bernd Hahnebach
c4a2be3a14 OpenSCAD: fix py syntax error 2019-10-18 13:04:25 +02:00
luz.paz
2d5ecbd28f Make the OpenSCAD Workbench dropdown tooltip more verbose for beginners 2019-10-17 17:37:12 -03:00
luz.paz
879c814409 Swap http:// for https:// 2019-10-17 17:37:12 -03:00
luz.paz
3532b91526 More code format fixes 2019-10-17 17:37:12 -03:00
luz.paz
9603a9e639 Adjust whitespace, convert double quotes to single 2019-10-17 17:37:12 -03:00
luz.paz
7530537128 OpenSCAD: Add IncreaseToleranceFeature icon to toolbar
Adds icon to toolbar, which lives in `src/Mod/OpenSCAD/Resources/icons/OpenSCAD_IncreaseToleranceFeature.svg`
2019-10-17 17:37:12 -03:00
Matthew Fallshaw
af4f8b284b fix crash on macOS when opening OpenSCAD Workbench
The OpenSCAD Workbench crashes on open on macOS with error
"a bytes-like object is required, not 'str'", due to python 2 to
python 3 incompatibility. This is me implementing the fix described by
oapa at
https://forum.freecadweb.org/viewtopic.php?t=35384#p311908 (with an
untested attempt to make it also still run with python 2).
2019-10-05 16:31:32 +02:00
KeithSloan
349acc75ad Add support for extrude with an angle 2019-09-04 11:38:34 -03:00
KeithSloan
62d85f4491 Fix OpenSCAD Frustrum 2019-08-30 15:55:15 +02:00
triplus
7ec43fcb54 OpenSCAD fix missing icons
Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=21&t=38616
2019-08-20 10:32:02 -03:00
luz.paz
6d64c2b2c6 OpenSCAD/OpenSCAD2Dgeom.py: source comment typo fix 2019-08-07 20:21:12 -04:00
Yorik van Havre
236f890864 Merged translations from crowdin 2019-06-17 20:06:59 -03:00
Yorik van Havre
ed386410bc Merged latest translations from crowdin 2019-05-10 19:19:37 -03:00
luz.paz
c985f9ee79 Misc typos and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
Yorik van Havre
7ee0e4d439 Updated master translation files 2019-02-08 19:16:21 -02:00
luz.paz
4cfda0c3a5 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
Yorik van Havre
ac18ec0d79 Updated translations 2019-02-01 13:54:10 -02:00
Yorik van Havre
ed06cbe626 OpenSCAD: Fixed issue #3640 2019-01-18 19:58:23 -02:00
cclauss
51ab27f54a Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
cclauss
f1c6c549a9 Cannot mix bytes and nonbytes literals in OpenSCADUtils.py
Fixes Travis test failure: https://travis-ci.org/FreeCAD/FreeCAD/jobs/474743289#L8528
2019-01-03 11:37:00 +01:00