Commit Graph

24571 Commits

Author SHA1 Message Date
Chris Hennes
74c2ef4e8d [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
7bc24b5582 [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
dd8447445a [PD] Misc. small LGTM fixes 2021-03-28 11:39:04 +02:00
donovaly
4839b14adc [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
c242d8ba64 [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
a2ba99452f 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
1a40cdfd43 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
40eb30ce8c [FEM] add a Graphite material card 2021-03-28 10:56:13 +02:00
wmayer
a3c2190c35 Gui: [skip ci] handle number of decimals in PropertyUnitItem, PropertyVectorDistanceItem and PropertyPlacementItem 2021-03-27 18:31:49 +01:00
wmayer
84081466eb travis: switch Netgen support off for Windows builds 2021-03-27 15:37:48 +01:00
wmayer
7b3b9767c5 smesh: [skip ci] suppress C++17 related warnings about extensions 2021-03-27 13:55:21 +01:00
Chris Hennes
8fd6929c8d [Travis] Update CI to use new libpack location. 2021-03-27 13:26:14 +01:00
wmayer
3737a3cfb2 TD: fixes #0004598: Segfault when deleting template without page 2021-03-27 13:18:15 +01:00
wmayer
7eaf08063e App: add system32 to Python's search paths 2021-03-27 13:05:03 +01:00
Syres916
d630156237 [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
5161b32b65 [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
1d867d9b9d MeshPart: refactor class Tessellation 2021-03-27 01:29:21 +01:00
wmayer
c3228becfc MeshPart: refactor class Mesher 2021-03-27 01:28:54 +01:00
sliptonic
03964c7200 Merge pull request #4664 from papaathome/uccnc_postprocessor
Path: Added UC-CNC postprocessor script.
2021-03-26 15:26:05 -05:00
andre
19a5fbb72d 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
030bda5ce9 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
dce69f3c7b Merge pull request #4550 from chennes/lgtmDice3DSIssues
[Arch] LGTM issues in Dice3DS
2021-03-26 11:30:11 +01:00
Yorik van Havre
511df2fa5d Merge pull request #4630 from luzpaz/typos
Fixed misc. typos [skip ci]
2021-03-26 11:29:34 +01:00
Yorik van Havre
08f9406814 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
32a3e3177a Merge pull request #4656 from chennes/draftContextMenuFallback
[Draft] Enable Transform context menu item
2021-03-26 11:28:36 +01:00
Yorik van Havre
6797cfcd33 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
32b48549be Merge pull request #4661 from chennes/draftImportDXFNoGUI
[Draft] Eliminate required GUI for importDXF
2021-03-26 11:26:50 +01:00
Yorik van Havre
470a39f456 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
4c1635706e 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
94b9374b37 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
1323c85c25 Merge branch 'uccnc_postprocessor' of https://github.com/papaathome/FreeCAD into uccnc_postprocessor 2021-03-26 09:37:28 +01:00
andre
bae362993c 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
e445658596 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
32255dfe8a 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
cd458165c3 OpenSCAD: [skip ci] pipeshell -> pipe_shell 2021-03-25 21:45:03 +01:00
Chris Hennes
57c93cd6b3 [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
a0464d1b00 [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
818de3d144 Merge branch 'master' into uccnc_postprocessor 2021-03-25 21:18:47 +01:00
andre
89ad78c14c Merge branch 'uccnc_postprocessor' of https://github.com/papaathome/FreeCAD into uccnc_postprocessor 2021-03-25 21:08:19 +01:00
andre
c4b529eec4 Added UC-CNC script to the build specifications. 2021-03-25 20:15:33 +01:00
Przemo Firszt
241be51afa Add missing files to fedora.spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-03-25 18:20:10 +01:00
donovaly
f71dd32ae9 [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
d65cc5c63f [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
bb5ac30e24 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
9e4d6d68fb [UI] Replace SVG icons for Sketcher commands 2021-03-25 18:00:55 +01:00
wmayer
747c9aba57 FEM: [skip ci] re-add removed comma 2021-03-25 17:50:31 +01:00
donovaly
00a7221a95 [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
3b4e96d4a7 [UI] Replace Bitmap icon of Part_PointsFromMesh command 2021-03-25 17:42:26 +01:00
lorenz
e415b22a97 cmake: update command to find python-site-packages
https://stackoverflow.com/a/40006251
2021-03-25 17:40:01 +01:00
wmayer
6159c6da13 Mesh: [skip ci] use enum to define the various 2D meshing algorithms 2021-03-25 17:28:13 +01:00