Commit Graph

23484 Commits

Author SHA1 Message Date
Chris Hennes
dfd683d464 [OpenSCAD] Add angle & $fn to rotate_extrude(file) 2021-03-28 12:38:31 +02:00
Chris Hennes
4e58747c16 [OpenSCAD] Add $fn and angle to rotate_extrude()
As pointed out in Issue #0004353 the OpenSCAD Workbench does not
correctly implement the angle parameter to rotate_extrude (it's a
relatively recent addition to OpenSCAD), nor does it attempt to do
anything with a specified $fn. This commit adds both features. To add
$fn handling, the code from the cylinder extrusion was mimicked,
allowing FreeCAD to create perfect, smooth representations when $fn
exceeds a user specified value in Preferences, but attempting to create
OpenSCAD's more discrete representation when using a lower $fn. Note
that this determination is made at creation time: if the user later
increases the segments parameter in the new object, it will remain
prismatic regardless of how high the value is made.
2021-03-28 12:38:11 +02:00
lvk88
07804a8c85 [GUI] Enable dragging in dependency graph view
This commit makes it possible to drag the dependency graph using the
left mouse button.

See issue #3896.
2021-03-28 12:06:59 +02:00
Chris Hennes
07b9cbb441 [PD] Misc. small LGTM fixes 2021-03-28 11:39:04 +02:00
donovaly
6bd2dc7d21 [Gui] add Std_TransformManip to MenuItem
I was wondering why we only offer this tool in the context menu. I tested and cannot see a drawback in having it also in the edit menu
2021-03-28 11:34:40 +02:00
donovaly
26750530f0 [Sketch] fix a typo in preferences dialog
- all other option text use consequently lowercase letters
- also set dialog to a more sensible sensible size
- the other changes were automagically done by QT Creator
2021-03-28 11:32:22 +02:00
wmayer
a849f9f932 Mesh: [skip ci] in ViewProviderMesh::highlightSegments change material binding only if colors list is non-empty 2021-03-28 11:27:04 +02:00
luz paz
15c16610c8 fix source comment typos [skip ci]
Found via  codespell v2.1.dev0
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,apoints,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,parms,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/doc/SourceDocu
```
2021-03-28 10:57:24 +02:00
donovaly
c439cb4cf4 [FEM] add a Graphite material card 2021-03-28 10:56:13 +02:00
wmayer
a3e3487f74 Gui: [skip ci] handle number of decimals in PropertyUnitItem, PropertyVectorDistanceItem and PropertyPlacementItem 2021-03-27 18:31:49 +01:00
wmayer
5dacdd820e smesh: [skip ci] suppress C++17 related warnings about extensions 2021-03-27 13:55:21 +01:00
wmayer
5e73e7187a TD: fixes #0004598: Segfault when deleting template without page 2021-03-27 13:18:15 +01:00
wmayer
e825148cf4 App: add system32 to Python's search paths 2021-03-27 13:05:03 +01:00
Syres916
a25061870c [Sketcher] Settings checkBox for..
...setting Diameter as default constraint for Arcs and Circles
See discussion : https://forum.freecadweb.org/viewtopic.php?f=3&t=57054
2021-03-27 06:13:09 +01:00
Syres916
7a8792f64b [Sketcher] Constraints Allow User to...
...set Diameter as default constraint for Arcs and Circles
See discussion : https://forum.freecadweb.org/viewtopic.php?f=3&t=57054
2021-03-27 06:13:09 +01:00
wmayer
353e556c7d MeshPart: refactor class Tessellation 2021-03-27 01:29:21 +01:00
wmayer
b68ca4c3be MeshPart: refactor class Mesher 2021-03-27 01:28:54 +01:00
sliptonic
182a578c43 Merge pull request #4664 from papaathome/uccnc_postprocessor
Path: Added UC-CNC postprocessor script.
2021-03-26 15:26:05 -05:00
andre
19fa532e2a Aplied Flake8 formatting and removed redundant global declarations.
Line limit used: 100 characters, still 3 lines longer than that.
2021-03-26 17:53:02 +01:00
Yorik van Havre
3025bd8c72 Merge pull request #4609 from hyarion/cleanup-draft-load-texture
Draft: Simplify load_texture after py3 requirement
2021-03-26 11:30:50 +01:00
Yorik van Havre
09e5ad7e67 Merge pull request #4550 from chennes/lgtmDice3DSIssues
[Arch] LGTM issues in Dice3DS
2021-03-26 11:30:11 +01:00
Yorik van Havre
d25eeae87d Merge pull request #4630 from luzpaz/typos
Fixed misc. typos [skip ci]
2021-03-26 11:29:34 +01:00
Yorik van Havre
9b2dc76b63 Merge pull request #4631 from sde1000/webgl-export-camera-buttons
Fix camera position buttons in WebGL export
2021-03-26 11:29:03 +01:00
Yorik van Havre
48098ee712 Merge pull request #4656 from chennes/draftContextMenuFallback
[Draft] Enable Transform context menu item
2021-03-26 11:28:36 +01:00
Yorik van Havre
7649eb7940 Merge pull request #4658 from chennes/draftFixScaleDataEntryGlitch
[Draft] Fix bug in data entry on scale w/ uniform scaling on
2021-03-26 11:27:30 +01:00
Yorik van Havre
43c23deb73 Merge pull request #4661 from chennes/draftImportDXFNoGUI
[Draft] Eliminate required GUI for importDXF
2021-03-26 11:26:50 +01:00
Yorik van Havre
4319ea7a0f Merge pull request #4667 from oliveroxtoby/master
AddonManager: Fixed minor logic glitch affecting non-github addons
2021-03-26 11:25:14 +01:00
Yorik van Havre
6dcb1686f2 Merge pull request #4453 from regularfry/lgtm-arch-unused-imports
Arch: removes unused imports
2021-03-26 11:22:11 +01:00
Yorik van Havre
c4a49a5575 Merge pull request #4348 from marioalexis84/draft-coordinate_input
[0.20] [Draft] Add global mode to enter points - Fixes #0004108
2021-03-26 11:18:23 +01:00
andre
8d186b5a59 Merge branch 'uccnc_postprocessor' of https://github.com/papaathome/FreeCAD into uccnc_postprocessor 2021-03-26 09:37:28 +01:00
andre
5abd19f121 Included bugfix as in FreeCAD PR. #4673 'Fix proxy error bug that occurs when postprocessing' (review recommendation) 2021-03-26 09:33:40 +01:00
sliptonic
515c7deb21 Merge pull request #4634 from mlampert/bugfix/issue-2839-dogbone-visualisation
[Path]: Bugfix/issue 2839 dogbone visualisation
2021-03-25 22:17:31 -05:00
sliptonic
837cf18153 Merge pull request #4639 from claasahl/claasahl-patch-1
[Path] post procesing for GRBL with option "--translate_drill" should also suppress G99
2021-03-25 17:43:34 -05:00
wmayer
2490629a4a OpenSCAD: [skip ci] pipeshell -> pipe_shell 2021-03-25 21:45:03 +01:00
Chris Hennes
8cbfa5a717 [OpenSCAD] Improve helical extrusion, fix scaling
Modify the auxiliary spine to be a true helix, resulting in a much
smoother linear extrusion when a twist angle is applied. This also
corrects a bug in the scaling during linear extrusion, where non-uniform
scaling was not handled correctly.
2021-03-25 21:23:29 +01:00
Chris Hennes
69f24859b5 [OpenSCAD] Fix bug in resize code
The resize code must recompute some kinds of objects prior to requesting
their bounding box, or the bounding box can be invalid.
2021-03-25 21:20:47 +01:00
papaathome
ce6c53a6a4 Merge branch 'master' into uccnc_postprocessor 2021-03-25 21:18:47 +01:00
andre
37d2fb1cbb Merge branch 'uccnc_postprocessor' of https://github.com/papaathome/FreeCAD into uccnc_postprocessor 2021-03-25 21:08:19 +01:00
andre
bde3e3d4dc Added UC-CNC script to the build specifications. 2021-03-25 20:15:33 +01:00
donovaly
b63102fae8 [Part] change icon to math the other Part icon scheme
The other Part icons have red lines indicating wires, only the new make faces ion does not. The PR changes this to use the same for all icons.
2021-03-25 18:11:49 +01:00
donovaly
5db4fb767c [Part] uniform feature sorting
at the moment the sorting is confusing, the sorting in the menu differs from the toolbars and some features even belong in the menu to another category than in the toolbars and one feature has not yet a toolbar entry

This PR implements a uniform sorting for the menu and toolbar and adds the missing toolbar icon
2021-03-25 18:04:35 +01:00
Benjamin Nauck
d358e13cd6 TechDraw: [skip ci] convert source files from iso-8859 to utf-8
All other source files are either plain ascii or utf-8, this converts
the last few to utf-8.
2021-03-25 18:02:12 +01:00
bitacovir
a026c9d3d4 [UI] Replace SVG icons for Sketcher commands 2021-03-25 18:00:55 +01:00
wmayer
1c93fc25f1 FEM: [skip ci] re-add removed comma 2021-03-25 17:50:31 +01:00
donovaly
0a2eb2756f [PD] some fixes for the new pad length feature
- disable 2 properties when no custom direction is used
- rename a property because its name is the opposite of what it is doing
2021-03-25 17:44:30 +01:00
bitacovir
b6e81c1821 [UI] Replace Bitmap icon of Part_PointsFromMesh command 2021-03-25 17:42:26 +01:00
lorenz
e8a3990878 cmake: update command to find python-site-packages
https://stackoverflow.com/a/40006251
2021-03-25 17:40:01 +01:00
wmayer
1ca3b36228 Mesh: [skip ci] use enum to define the various 2D meshing algorithms 2021-03-25 17:28:13 +01:00
donovaly
bf08e25f34 [Mesh] fix Gmsh mesh algorithms
the numbers written to the geo file were wrong

- also update the list of currently supported algorithms (as of Gmsh 4.6 or newer)
2021-03-25 17:20:15 +01:00
donovaly
bcc669b930 [Base] add electrical conductivity
- this is necessary to perform electrodynamics simulations. Since the typical values are in the range of 1e6 S/m, we need the new units kS and MS

- since this is for simulations, also add electrical conductivity to the FEM material cards
2021-03-25 17:13:52 +01:00