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
wmayer
01367d21f6
fix bytes vs. str issue on macOS
2019-01-02 16:26:16 +01:00
Yorik van Havre
2ea84272fd
Updated translations from crowdin
2018-12-23 13:54:30 -02:00
PoroCYon
da09f7c3d9
OpenSCAD: fix error in workaroundforissue128needed with date formats (YYYYMMDD vs YYYY.MM.DD)
...
This happens when the git version of OpenSCAD is installed (which uses YYYYMMDD), instead of
the latest released version (from 2015, which uses YYYY.MM.DD).
2018-11-14 00:14:19 +01:00
Clemens Weissbacher
6e7beb1a0b
py3: OpenSCAD: fix type cast
2018-10-29 17:18:13 +01:00
Clemens Weissbacher
1be9f18b52
py3: OpenSCAD: use io.open more explicit
2018-10-29 17:17:53 +01:00
Yorik van Havre
7fabfde0ef
py3 compatibility fixes
2018-10-27 16:04:51 -03:00
Clemens Weissbacher
cef825c567
py3: OpenSCAD: make Mod/OpenSCAD python3 compatible
2018-10-25 11:03:36 -03:00
Martin Kroeker
13584d64fb
py3: cannot take len() of zip() object directly
2018-10-22 15:38:16 -03:00
Keith Sloan
c717d1121d
improve csg import
2018-08-29 21:45:41 +02:00
wmayer
16295d4121
CMake 2.8.12 and lower allowed the SOURCE signature in add_custom_command
...
In CMake 3.0 the policy CMP0050 was introduced where it could be set to OLD to keep this behaviour while for NEW an error was raised.
Since CMake 3.5.2 a warning comes up when using the OLD behaviour and that it will be removed in a future version.
In FreeCAD we switched to the new behaviour now and removed the SOURCE signature from add_custom_command which affects the macros
fc_copy_sources, fc_target_copy_resource and fc_target_copy_resource_flat and their usage.
It's not possible any more to add files to a target by using the macros. Now a file must be added to the target before using the macros.
This commit fixes it for Arch, Draft, OpenSCAD, Material, Plot and Ship
2018-08-20 11:47:39 +02:00
lo
d990fb15fa
py3: <generator>.next -> next(<generator>)
...
reported: https://github.com/FreeCAD/FreeCAD_Conda/issues/16
ref1: https://stackoverflow.com/questions/12274606/theres-no-next-function-in-a-yield-generator-in-python-3
2018-07-11 21:17:57 -03:00
wandererfan
9975c75888
Fix #3419 Circles as Polygons
...
- by default, OpenScad represents circles from
dxf files as octogons. This fix provides
access to the OpenScad variable "$fn" which
controls the number of polygon sides.
2018-06-10 19:33:33 +02:00
luz.paz
6e64b4f75d
Misc. typos
2018-05-19 12:06:34 -04:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo
8c448e370c
openscad py3 fixes
2018-04-23 09:56:23 +02:00
Pawel Bogut
118757abcd
OpenScad path detection fix for python3 on unix
2018-03-30 11:30:27 +02:00
Yorik van Havre
d4f835ab39
Merged translations from crowdin
2018-03-26 18:52:02 -03:00
luz.paz
b45bc4889d
Misc. typos: Please merge right before 0.17 release
...
I'm still finding typos in the source code. I propose that you keep this PR open prior ro relaese and then merge so that if I find other typos in the meantime they will be part this release.
2018-03-18 15:15:16 +01:00
wmayer
8c6b4ad1a6
fix German translation
2018-03-03 23:37:15 +01:00
Yorik van Havre
12f3258ded
Applied latest translations from crowdin
2018-02-21 14:25:31 -03:00
luz.paz
ec04b0e9fc
Misc. typos
2018-02-08 13:23:25 -05:00
luz.paz
8690d870a5
Misc. typos
...
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
luzpaz
128239b54a
Typos: Various workbenches and misc.
...
[skip ci]
2017-12-25 10:58:10 +01:00
luzpaz
987b8db0b5
More typos, grammar fixes, uniformity
2017-11-15 10:46:43 -05:00
luzpaz
39eaa63b52
OpenSCAD: make tooltips uniform and grammatically correct
...
Uniformity and grammar fixes
2017-11-12 14:28:15 -02:00