Commit Graph

20797 Commits

Author SHA1 Message Date
Eric Trombly
745945d2cb fix detect of 0,0 start point 2020-04-24 20:05:39 -05:00
Eric Trombly
c10eed7eb0 pass endVectorin PathAreaOp and clean up gcode generation 2020-04-24 20:05:39 -05:00
Bernd Hahnebach
042eb62b54 FEM: ccx writer, move some methods around 2020-04-24 21:09:33 +02:00
sliptonic
c9f6a4272c Merge pull request #3362 from dubstar-04/deburrFix
[Path] - Hide the join type on the deburr form.
2020-04-24 12:36:43 -05:00
wandererfan
3543fc9dc0 [TD]Qt4 fixes 2020-04-24 11:13:49 -04:00
wandererfan
74c1b852f4 [TD]trap potential crash on app close
- avoid possible crash in TD dialogs if app closed
  while dialog in progress.
2020-04-24 11:13:49 -04:00
wandererfan
8b7d9ee749 [TD]handle ProjectionAngle changes 2020-04-24 11:13:49 -04:00
wandererfan
a3029fec74 [TD]Centralize preference getters 2020-04-24 11:13:49 -04:00
Bernd Hahnebach
a6cfe5c47f FEM: ccx writer, use better var name because of typo 2020-04-24 16:55:55 +02:00
Bernd Hahnebach
30f0a916fc FEM: ccx input writer, move mesh writing code in separate method and merge one file and splitted file writer methods 2020-04-24 16:54:30 +02:00
Bernd Hahnebach
7a49ab5050 FEM: ccx input writer, delete not needed code line 2020-04-24 16:09:57 +02:00
Yorik van Havre
d6f77bb23b Arch: Fixed regression in wall 2020-04-24 15:10:42 +02:00
midgetfc
469cec179b remove obsolete policy stuff 2020-04-24 13:56:49 +02:00
midgetfc
bffcc0292c push cmake minimum version up 2020-04-24 13:56:49 +02:00
vocx-fc
e87245aeef Draft: move Mirror GuiCommand to gui_mirror module 2020-04-24 13:49:13 +02:00
vocx-fc
bb4fbf62e9 Draft: move Draft_Clone GuiCommand to gui_clone module
Rename the Gui Command to `Clone`, and provide an alias
for the older name `Draft_Clone`, just in case.
2020-04-24 13:49:13 +02:00
vocx-fc
6d4ee479c0 Draft: small changes to the taskpanels for arrays 2020-04-24 13:49:13 +02:00
vocx-fc
4b5f7d5575 Draft: small changes to the view providers for arrays
These view providers are not currently in use, the files are just
there for reference, to show how they would be used in the future.

The `super()` instruction is not made compatible with Python 2
because this code won't run with Python 2 anyway.
2020-04-24 13:49:13 +02:00
vocx-fc
62b9183b5c Draft: rename Circular, Ortho, and Polar arrays
The internal GuiCommand classes are renamed to `CircularArray`,
`OrthoArray`, and `PolarArray`. This is a shorter name than the
previous `GuiCommandCircularArray`, `GuiCommandOrthoArray`,
and `GuiCommandPolarArray`.

These classes are not part of the scripting interface of Draft
so we don't risk breaking previous files.
2020-04-24 13:49:13 +02:00
vocx-fc
589693f66c Draft: small changes to the loading of the array modules 2020-04-24 13:49:13 +02:00
vocx-fc
b434347dbd Draft: move PointArray GuiCommand to gui_pointarray module 2020-04-24 13:49:13 +02:00
vocx-fc
539e36dd72 Draft: move PathLinkArray GuiCommand to gui_patharray module 2020-04-24 13:49:13 +02:00
vocx-fc
23a975250f Draft: move PathArray GuiCommand to gui_patharray module 2020-04-24 13:49:13 +02:00
vocx-fc
ae3089d780 Draft: move LinkArray GuiCommand to gui_array_simple module
The code is kept for historical reasons, but the tool
is no longer accessible from the toolbars or menus,
as it was superseded by the three commands `Draft_OrthoArray`,
`Draft_PolarArray` and `Draft_CircularArray`.
2020-04-24 13:49:13 +02:00
vocx-fc
a34ce0acf3 Draft: move Array GuiCommand to gui_array_simple module
The code is kept for historical reasons, but the tool
is no longer accessible from the toolbars or menus,
as it was superseded by the three commands `Draft_OrthoArray`,
`Draft_PolarArray` and `Draft_CircularArray`.
2020-04-24 13:49:13 +02:00
vocx-fc
8fad38bc8a Draft: move Draft2Sketch GuiCommand to gui_draft2sketch module 2020-04-24 13:49:13 +02:00
vocx-fc
e31b02f3e2 Draft: move Shape2DView GuiCommand to gui_shape2dview module 2020-04-24 13:49:13 +02:00
vocx-fc
276998d749 Draft: move WireToBSpline GuiCommand to gui_wire2spline module 2020-04-24 13:49:13 +02:00
vocx-fc
7b89b302cb Draft: move Drawing GuiCommand to gui_drawing module
Also, finally the command is removed from the toolbar
as the Drawing Workbench is obsolete since v0.17.

The command is still loaded and defined by the workbench
but it is no longer presented to the user interface in the menu
or toolbar.
2020-04-24 13:49:13 +02:00
vocx-fc
47c9d83862 Draft: move Scale GuiCommand to gui_scale module
The scale operation can be used with subelements, vertices
and edges, but in this case this only works with polylines
(wires) because internally the functions `scaleVertex`
and `scaleEdges` only work with polylines that have a `Points`
property.

When doing a copy and scale, it also calls `copyScaledEdges`
which calls `joinWires`, so problems with joining wires
may also be present when performing this operation.
2020-04-24 13:49:13 +02:00
vocx-fc
0a14ecf6da Draft: move Trimex GuiCommand to gui_trimex module 2020-04-24 13:49:13 +02:00
vocx-fc
cf5c6da659 Draft: move Downgrade GuiCommand to gui_downgrade module 2020-04-24 13:49:13 +02:00
vocx-fc
f9ff602cf2 Draft: move Upgrade GuiCommand to gui_upgrade module 2020-04-24 13:49:13 +02:00
vocx-fc
5f182e471c Draft: move Split GuiCommand to gui_split module 2020-04-24 13:49:13 +02:00
vocx-fc
56f2885cb3 Draft: move Join GuiCommand to gui_join module
Occasionally it fails to join lines even if the lines
visually share a point.

This is a rounding error in the comparison of the shared point;
a small distance will result in the points being considered
different and thus the lines not joining.

The solution is to test properly the two points using
`DraftVecUtils.equals` which considers the value of
the `precision` set in the Draft preferences.
2020-04-24 13:49:13 +02:00
vocx-fc
58812ebbbf Draft: move Stretch GuiCommand to gui_stretch module 2020-04-24 13:49:13 +02:00
vocx-fc
c7ca282e85 Draft: move Offset GuiCommand to gui_offset module
Include Yorik's commit e8b216dd42.
2020-04-24 13:49:13 +02:00
vocx-fc
98f9db5053 Draft: move Rotate GuiCommand to gui_rotate module 2020-04-24 13:49:13 +02:00
vocx-fc
73e1027445 Draft: move ApplyStyle GuiCommand to gui_styles module
Also fix an error in determining the objects of type group.

Also call `finish` to properly terminate the command,
otherwise it stays active and behaves incorrectly.
2020-04-24 13:49:13 +02:00
vocx-fc
a2a3cd18c2 Draft: move Move GuiCommand to gui_move module 2020-04-24 13:49:13 +02:00
vocx-fc
3348b91717 Draft: move SubelementHighlight to its own module 2020-04-24 13:49:13 +02:00
Bernd Hahnebach
ad33755869 FEM: ccx input writer, splitted, improve heatflux constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
5146ec5432 FEM: ccx input writer, splitted, improve pressure constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
fe40f2d07e FEM: ccx input writer, splitted, improve force constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
da4dd0baba FEM: ccx input writer, splitted, improve node sets for fixed constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
fce4a877e2 FEM: ccx input writer, splitted, improve node sets for displacement constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
b7796556a7 FEM: ccx input writer, splitted, improve node sets for planerotation constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
e6215ccb9e FEM: ccx input writer, splitted, improve node sets for temperature constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
b0fd4dc916 FEM: ccx input writer, splitted, improve node sets for transform constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
8eda47df6f FEM: ccx writer, splitted writer, improve surface sets for tie and contact 2020-04-24 09:35:01 +02:00