Commit Graph

30 Commits

Author SHA1 Message Date
hrobeers
7f36e21d4b [OpenSCAD] consistent FreeCADGui imports, fixes headless CSG import 2020-09-14 13:28:40 +02:00
mwganson
d6530a0628 [OpenSCAD] Add 2 new commands: Scale and Resize, fix bug in Mirror mesh feature 2020-08-06 12:34:16 +02:00
mwganson
e6aee6b5e6 [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
6c85779ec4 [openscad] mirror mesh feature -- separate gui from function 2020-07-20 14:24:29 +02:00
mwganson
f429b568bb [openscad] add icon for mirror mesh feature 2020-07-20 14:24:29 +02:00
mwganson
c845ece1e3 [openscad] add ulrich's mirror mesh macro, fix error in refine shape 2020-07-20 14:24:29 +02:00
luz.paz
d10ca28c88 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
luz.paz
893868b539 Swap http:// for https:// 2019-10-17 17:37:12 -03:00
luz.paz
5e46b1c597 More code format fixes 2019-10-17 17:37:12 -03:00
triplus
83fb054a22 OpenSCAD fix missing icons
Forum discussion:

https://forum.freecadweb.org/viewtopic.php?f=21&t=38616
2019-08-20 10:32:02 -03:00
Clemens Weissbacher
0d035d3f5b py3: OpenSCAD: make Mod/OpenSCAD python3 compatible 2018-10-25 11:03:36 -03:00
luzpaz
831fbe7ee7 OpenSCAD: make tooltips uniform and grammatically correct
Uniformity and grammar fixes
2017-11-12 14:28:15 -02:00
Priit Laes
839e7eed22 python: OpenSCAD: *.py: Fix python3 syntax 2017-02-12 17:40:07 +01:00
wmayer
7b631625c7 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
Sebastian Hoogen
a12894cfa7 test for default color from preferences in OpenSCAD/Explode command 2015-03-21 13:29:33 +01:00
Sebastian Hoogen
f0dd9a3182 refuse to change the placement of PartDesign::Feature Objects
in OpenSCAD/Explode Group command
2015-02-13 00:40:27 +01:00
Sebastian Hoogen
6012b95bc2 support Part::Compound in OpenSCADCommands.ExplodeGroup 2014-05-18 21:13:29 -03:00
Sebastian Hoogen
59337e995d Allow selection of two objects for OpenSCAD.replaceobject 2014-04-14 11:59:01 -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
aad15c2ef5 Port OpenSCAD WB to PySide 2014-01-08 23:30:57 -02:00
Keith Sloan
91f61246f1 Hull and Minkowski operations using OpenSCAD 2013-11-17 13:50:35 +01:00
Sebastian Hoogen
1eafbcd490 OpenSCAD encode text as utf8 2013-10-28 06:33:39 +01:00
Sebastian Hoogen
df8c19e195 OpenSCAD: close csg file and allow unlink to fail 2013-09-17 13:39:37 +02: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
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
5e6c29cd66 OpenSCAD fix parsing bug for square statement 2012-12-18 20:31:41 +01:00
Sebastian Hoogen
32596ba7e4 OpenSCAD: fix translation problems and identation error 2012-12-06 14:09:08 +01:00
Sebastian Hoogen
a9d1f4f3fb Enhancements to OpenSCAD module
interpolate OpenSCAD surface elements (heightmaps) to BSplineSurface
ignore render statement #21
handle difference object with only one child #46
fix sign of import origin in prototype
fixed syntax of minkowski statement
Added Icon for AddOpenSCADElement #50 and fixed typo in OpenSCAD module
ignore OpenSCAD Modifiers #31
handle fuse with a single child
remove redefinition of python list
make OpenSCAD importCSG avavailable in command line mode
add modifier characters to the label of the top affected object
started translation
remove ColorCodeShapes command from toolbar and menu
Added toolbar with Part tools to OpenSCAD WB
remove OpenSCAD prototype importer from build
2012-10-25 10:23:28 +02:00
Sebastian Hoogen
d984093f1c OpenSCAD module
fixes #3 #7 #25 #26 #28 #30 #35 #36 #41
2012-06-25 15:01:33 +02:00