Commit Graph

48 Commits

Author SHA1 Message Date
Martin Rodriguez Reboredo
9759da82e4 Fixups with Qt6 enums (#13611)
* Python PySide enums to C++ converter

* Python IntFlags to C++ int in getStandardButtons

* Remove int conversion in mods Python sources
2024-05-06 18:02:18 +02:00
wmayer
722087b32c OpenSCAD: Hull/Minkowski also work for a single selected object 2023-05-21 16:42:09 +02:00
luzpaz
129d5882a7 Migrate domain name from freecadweb to freecad (#9352)
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files

Closes #6415
2023-04-24 15:19:20 -05:00
luzpaz
229518d392 OpenSCAD: linting OpenSCADCommands.py
Fixes bad indentation, seperate import statements, remove py2 syntax
2023-03-28 01:41:55 +00:00
Chris Hennes
311a15bc9f OpenSCAD: Modify wording of task dialog buttons
Fixes #8619
2023-02-23 22:59:13 -06:00
Chris Hennes
89e787b5a5 OpenSCAD: Translate file dialogs
Fixes #8618
2023-02-23 22:08:22 -06:00
Chris Hennes
a2674f24af OpenSCAD: Support CSG loads from Load button
Fixes #8617.
2023-02-23 21:59:40 -06:00
Chris Hennes
31799d5f13 OpenSCAD: Make clearing field undoable
Also renames the clear button for clarity. Fixes #8576.
2023-02-21 22:55:04 -06:00
Chris Hennes
a79b397e85 OpenSCAD: Correct QFileDialog usage
Fixes #8577
2023-02-21 20:50:29 -06:00
Chris Hennes
8997802ce9 GUI: Minor translation issues 2022-12-27 21:44:11 -06:00
Chris Hennes
cc086782b5 OpenSCAD: Minor translation fixes 2022-12-27 21:30:34 -06:00
Uwe
3a50f95be4 Mod: remove some superfluous Boolean checks (#7213)
* Mod: remove some superfluous Python Boolean checks
2022-07-19 01:35:12 +02:00
luz paz
78d0fc786a OpenSCAD: pep8-ified + removed superfluous whitespace + uniform headers 2022-01-23 19:52:37 -06:00
Yorik van Havre
ff6845e2f3 OpenSCAD: Fixed typo 2021-05-31 14:54:48 +02:00
Keith Sloan
d850ed87aa Add Load/Save/Refresh to add OpenSCAD Elements 2021-04-27 17:42:06 +01:00
Keith Sloan
8bdf4a7a2b Add load/save/refresh to addElement 2021-04-25 15:10:46 +01:00
wmayer
4fbdcfb477 OpenSCAD: [skip ci] disable rich text in OpenSCAD widget to avoid weird behaviour when copying code from an HTML page 2021-03-28 13:51:38 +02:00
bitacovir
cbc3fbd157 [UI] Replacement of 3 SVG icons for OpenSCAD commands 2021-02-11 12:07:09 +01:00
hrobeers
aaf12da9d0 [OpenSCAD] consistent FreeCADGui imports, fixes headless CSG import 2020-09-14 13:28:40 +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
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
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
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
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
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
Clemens Weissbacher
cef825c567 py3: OpenSCAD: make Mod/OpenSCAD python3 compatible 2018-10-25 11:03:36 -03:00
luzpaz
39eaa63b52 OpenSCAD: make tooltips uniform and grammatically correct
Uniformity and grammar fixes
2017-11-12 14:28:15 -02:00
Priit Laes
159dbe2cb8 python: OpenSCAD: *.py: Fix python3 syntax 2017-02-12 17:40:07 +01:00
wmayer
f065f8eb53 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
Sebastian Hoogen
089174c297 test for default color from preferences in OpenSCAD/Explode command 2015-03-21 13:29:33 +01:00
Sebastian Hoogen
192a32d8d1 refuse to change the placement of PartDesign::Feature Objects
in OpenSCAD/Explode Group command
2015-02-13 00:40:27 +01:00
Sebastian Hoogen
bff814b73a support Part::Compound in OpenSCADCommands.ExplodeGroup 2014-05-18 21:13:29 -03:00
Sebastian Hoogen
cbc19a5197 Allow selection of two objects for OpenSCAD.replaceobject 2014-04-14 11:59:01 -03:00
Sebastian Hoogen
b58d1caea7 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
89a028f4a8 Port OpenSCAD WB to PySide 2014-01-08 23:30:57 -02:00
Keith Sloan
bcb7d02c05 Hull and Minkowski operations using OpenSCAD 2013-11-17 13:50:35 +01:00
Sebastian Hoogen
195b8e1b35 OpenSCAD encode text as utf8 2013-10-28 06:33:39 +01:00
Sebastian Hoogen
1ea6fb9c54 OpenSCAD: close csg file and allow unlink to fail 2013-09-17 13:39:37 +02:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Sebastian Hoogen
558a3e715e process OpenSCADs stdout and allow os.unlink to fail 2013-07-10 16:11:31 +02:00
Sebastian Hoogen
d42a7c82ea added licences for OpenSCAD module 2013-01-09 15:09:23 +01:00
Sebastian Hoogen
944959a624 OpenSCAD fix parsing bug for square statement 2012-12-18 20:31:41 +01:00
Sebastian Hoogen
e12b4217bb OpenSCAD: fix translation problems and identation error 2012-12-06 14:09:08 +01:00
Sebastian Hoogen
1d0a79a5f2 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
df017149c5 OpenSCAD module
fixes #3 #7 #25 #26 #28 #30 #35 #36 #41
2012-06-25 15:01:33 +02:00