Commit Graph

174 Commits

Author SHA1 Message Date
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
Yorik van Havre cfe2d134a2 Updated translations from crowdin 2017-10-23 18:32:02 -02:00
Unknown 15c0d38536 Capitalize beginning of tooltips + Typos
Capitalized all remaining uncapitalized tooltips. 
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT. 
+ other typos
2017-10-13 00:26:53 +02:00
luzpaz ab8f8919b6 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
looooo 3e8249a0e6 py3: fix some simple incompapilities
issue 0000995
2017-06-21 11:25:30 +02:00
Yorik van Havre 2a2ab3c4ef Updated translations 2017-05-25 10:04:05 -03:00
wmayer 5fbca1a4ad py3: port PR changes to be compatible with Py3 2017-05-18 16:25:13 +02:00
Keith Sloan ce8a423f2e Fix for Polyhedron with faces 2017-05-18 16:18:53 +02:00
Keith Sloan 22cbd5b825 Fix for cylinder with polygon number as a decimal 2017-05-17 11:24:29 -03:00
Keith Sloan 8904d65aab Fix for circlee with zero radius 2017-05-17 05:45:55 +01:00
Keith Sloan 1e04f7da75 Fix for linear_extrude request of null object i.e. null text 2017-05-11 20:21:54 +02:00
Keith Sloan 513efcba0e Fix for linearextrude with twist 2017-05-11 20:17:26 +02:00
Keith Sloan a328e1fe73 Support of OpenSCAD offset command 2017-05-02 15:53:30 +02:00
Keith Sloan 6ffe8837c4 Fix for null string and single blank string 2017-04-28 19:59:29 +02:00
asiersarasua ea3d86b735 Fix typos 2017-04-20 09:49:19 +02:00
Kunda 784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
Yorik van Havre 6b66a38ee3 Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
Kunda dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
Priit Laes 159dbe2cb8 python: OpenSCAD: *.py: Fix python3 syntax 2017-02-12 17:40:07 +01:00
Alexander Gryson 8d81a71002 Update Metadata 2017-01-16 20:55:46 +01:00
Alexander Gryson 7744fcfa45 Align OpenSCAD icons to guidelines 2017-01-16 20:55:45 +01:00
wmayer bf5dcbd062 move import statement to fix error 2017-01-06 18:04:07 +01:00
wmayer f065f8eb53 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00