Commit Graph

20776 Commits

Author SHA1 Message Date
vocx-fc
dc2c103fe6 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
0fb2d9cf78 Draft: small changes to the loading of the array modules 2020-04-24 13:49:13 +02:00
vocx-fc
cc26565b3a Draft: move PointArray GuiCommand to gui_pointarray module 2020-04-24 13:49:13 +02:00
vocx-fc
720dc919c3 Draft: move PathLinkArray GuiCommand to gui_patharray module 2020-04-24 13:49:13 +02:00
vocx-fc
f58212c07d Draft: move PathArray GuiCommand to gui_patharray module 2020-04-24 13:49:13 +02:00
vocx-fc
4b8dda1555 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
82efd33581 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
d4c699c844 Draft: move Draft2Sketch GuiCommand to gui_draft2sketch module 2020-04-24 13:49:13 +02:00
vocx-fc
6f060d513d Draft: move Shape2DView GuiCommand to gui_shape2dview module 2020-04-24 13:49:13 +02:00
vocx-fc
8643025d49 Draft: move WireToBSpline GuiCommand to gui_wire2spline module 2020-04-24 13:49:13 +02:00
vocx-fc
4ed80cdf83 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
868435bfd9 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
81d77e2ca1 Draft: move Trimex GuiCommand to gui_trimex module 2020-04-24 13:49:13 +02:00
vocx-fc
418bafe6ee Draft: move Downgrade GuiCommand to gui_downgrade module 2020-04-24 13:49:13 +02:00
vocx-fc
c3221222b3 Draft: move Upgrade GuiCommand to gui_upgrade module 2020-04-24 13:49:13 +02:00
vocx-fc
a9688f7d00 Draft: move Split GuiCommand to gui_split module 2020-04-24 13:49:13 +02:00
vocx-fc
cb5aa765fb 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
8ea1358dcb Draft: move Stretch GuiCommand to gui_stretch module 2020-04-24 13:49:13 +02:00
vocx-fc
eb21502d0f Draft: move Offset GuiCommand to gui_offset module
Include Yorik's commit 97c8eff825.
2020-04-24 13:49:13 +02:00
vocx-fc
5cf9dadd68 Draft: move Rotate GuiCommand to gui_rotate module 2020-04-24 13:49:13 +02:00
vocx-fc
bad30329d7 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
5f11802bc0 Draft: move Move GuiCommand to gui_move module 2020-04-24 13:49:13 +02:00
vocx-fc
3370e870fe Draft: move SubelementHighlight to its own module 2020-04-24 13:49:13 +02:00
Bernd Hahnebach
c0aa89e7ae FEM: ccx input writer, splitted, improve heatflux constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
b2dbd8c077 FEM: ccx input writer, splitted, improve pressure constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
8a7642142b FEM: ccx input writer, splitted, improve force constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
021c25a78f FEM: ccx input writer, splitted, improve node sets for fixed constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
cacf620e1a FEM: ccx input writer, splitted, improve node sets for displacement constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
b8d063f5bd FEM: ccx input writer, splitted, improve node sets for planerotation constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
11ef01fee1 FEM: ccx input writer, splitted, improve node sets for temperature constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
1f5d2fca35 FEM: ccx input writer, splitted, improve node sets for transform constraint 2020-04-24 09:35:01 +02:00
Bernd Hahnebach
b1623c4416 FEM: ccx writer, splitted writer, improve surface sets for tie and contact 2020-04-24 09:35:01 +02:00
sliptonic
52dcaad448 Merge pull request #3386 from dubstar-04/fixes/cycleTimeEstimation
[Path] - fixes/cycle time estimation
2020-04-23 22:34:12 -05:00
sliptonic
661f635ab5 Merge pull request #3368 from spontarelliam/path-link-stock-model
Path: movement of stock and model when setting origin
2020-04-23 22:33:44 -05:00
Adam Spontarelli
531e18304a change from radio button to checkbox per feedback 2020-04-23 19:37:12 -04:00
Daniel Wood
ba616697e9 Display 00:00:00 when the cycle time is 0 seconds 2020-04-23 18:07:32 +01:00
Daniel Wood
e99cf9b664 ensure the getCycleTime function returns a value 2020-04-23 16:43:00 +01:00
Yorik van Havre
0c96f77184 Arch: Added Truss tool 2020-04-23 13:18:09 +02:00
Yorik van Havre
3802e07f54 Draft: fixed regression in snapper 2020-04-23 12:05:59 +02:00
sliptonic
f47c6539b8 Merge pull request #3363 from dubstar-04/CoolantTidy
[Path] - Remove Duplicate Signal
2020-04-22 18:09:01 -05:00
sliptonic
8adadcf2ca Merge pull request #3378 from dubstar-04/feature/CycleTimeEstimate
[PATH] feature/cycle time estimate - fixes #3346
2020-04-22 18:07:52 -05:00
Bernd Hahnebach
028926ee9f FEM: ccx writer, splitted writer, make include names class attributes 2020-04-22 21:53:24 +02:00
Bernd Hahnebach
03629634a2 FEM: ccx writer, fix indent and white spaces 2020-04-22 21:13:55 +02:00
Daniel Wood
865f0cc692 remove debug print 2020-04-22 19:36:24 +01:00
Daniel Wood
be14fb85e8 Add CycleTime Attribute to PathJob 2020-04-22 19:12:14 +01:00
Daniel Wood
ca35d67f7f Add cycleTime Attribute to PathOp 2020-04-22 19:10:18 +01:00
Daniel Wood
b2756bb10f Add getCycleTime method to Path::ToolPath 2020-04-22 19:08:09 +01:00
Bernd Hahnebach
683e78c57e FEM: ccx writer, improve new lines and comments 2020-04-22 18:05:59 +02:00
sliptonic
538cb9a2df Merge pull request #3373 from agren/feature/improve-path-multi-select
[Path] Allow copy and toggle of multiple operations at once
2020-04-22 10:41:58 -05:00
sliptonic
3b18bbf682 Merge pull request #3371 from etrombly/locale
[PATH] remove hard coded locale from path ui
2020-04-22 09:58:03 -05:00