Commit Graph

32 Commits

Author SHA1 Message Date
Clemens Weissbacher
befb3ea8a8 py3: OpenSCAD: use io.open more explicit 2018-10-29 17:17:53 +01:00
Clemens Weissbacher
0d035d3f5b py3: OpenSCAD: make Mod/OpenSCAD python3 compatible 2018-10-25 11:03:36 -03:00
Martin Kroeker
fc78df5416 py3: cannot take len() of zip() object directly 2018-10-22 15:38:16 -03:00
lo
a79da99cee 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
97e1ca5ef6 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
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
Pawel Bogut
33a4055390 OpenScad path detection fix for python3 on unix 2018-03-30 11:30:27 +02:00
luzpaz
c4dd42de98 Typos: Various workbenches and misc.
[skip ci]
2017-12-25 10:58:10 +01:00
Priit Laes
839e7eed22 python: OpenSCAD: *.py: Fix python3 syntax 2017-02-12 17:40:07 +01:00
wmayer
2a8652161d move import statement to fix error 2017-01-06 18:04:07 +01:00
wmayer
7b631625c7 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
l3iggs
fbb3d43caa fix for 0002358
This strips off any trailing '-' text reported by openscad when asking it for its version.
2015-12-10 14:50:01 +00:00
Sebastian Hoogen
856c66d12d use exceptions in OpenSCAD module
derive OpenSCADError from FreeCADError if possible
2014-09-17 11:59:49 +02:00
Michael Ang
1470aa1b3d automatically find the OpenSCAD binary on Mac OS X 2014-07-13 11:37:33 +02:00
Sebastian Hoogen
e9f674770e Raise exception if the OpenSCAD executeable is unavailable 2014-07-01 12:32:05 +02:00
Sebastian Hoogen
fe4dbe5f17 Add default for path to OpenSCAD on Mac OS X 2014-07-01 12:32:04 +02:00
Sebastian Hoogen
a533161fc5 use compounds for unknown shape types
in OpenSCADUtils.applyPlacement
2014-06-10 10:36:09 -03:00
Sebastian Hoogen
e623ce3d0e + fixes #0001537: python function to apply a placement to a shape 2014-05-18 21:13:29 -03:00
Sebastian Hoogen
cf538e94b8 OpenSCAD Module: bugfixes and improvements
if more than 14 digits are given don round in general,
but test for <eps only.
refine before extrusion
support polyhedron faces which replaces polyhedron faces
importCSG round rotations
don't call Draft.makecircle and makeprism as they trigger a recompute
use group placholder for objects with no children
move removesubtree to OpenSCADUtils
add resize and offset keywords
add OpenSCAD_ExplodeGroup command
add OpenSCAD_IncreaseToleranceFeature
change refine shape logo
2014-03-06 19:41:38 +01:00
Sebastian Hoogen
9bcd781864 OpenSCAD binary gives version info on stderr in never versions 2014-02-20 11:12:51 -03:00
Sebastian Hoogen
0d3dff3681 Use Part::Mirroing in importCSG 2014-02-20 11:12:51 -03:00
Sebastian Hoogen
3db8e7ed54 OpenSCAD use PythonFeatures for hull and minkowski 2014-02-20 11:12:51 -03:00
Sebastian Hoogen
5e7a61bc04 OpenSCAD Module: Adds support for Frustum and fixes minor bugs 2014-02-14 14:43:29 -02:00
Keith Sloan
91f61246f1 Hull and Minkowski operations using OpenSCAD 2013-11-17 13:50:35 +01:00
Sebastian Hoogen
7d37ad6692 bugfix in OpenSCADUtils.callopenscad()
it did not return any result if outputfilename was given
reported by Keith Sloan
2013-10-28 06:44:08 +01:00
Yorik van Havre
4005b199e0 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Sebastian Hoogen
d2b9e522d2 OpenSCAD: call which to find openscad executable
on all platforms except 'win32'
2013-07-10 20:52:23 +02:00
Sebastian Hoogen
e52fb98e39 search for OpenSCAD executable when initalizing WB 2013-07-10 16:19:24 +02:00
Sebastian Hoogen
00661a078f added function to search for the openscad executeable
this function implmented but not called at the moment
2013-07-10 16:11:32 +02:00
Sebastian Hoogen
1ce4327b5f process OpenSCADs stdout and allow os.unlink to fail 2013-07-10 16:11:31 +02:00
Sebastian Hoogen
50a7c5d164 added licences for OpenSCAD module 2013-01-09 15:09:23 +01:00
Sebastian Hoogen
d984093f1c OpenSCAD module
fixes #3 #7 #25 #26 #28 #30 #35 #36 #41
2012-06-25 15:01:33 +02:00