Commit Graph

20768 Commits

Author SHA1 Message Date
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
sliptonic
d8c23e4894 Merge pull request #3386 from dubstar-04/fixes/cycleTimeEstimation
[Path] - fixes/cycle time estimation
2020-04-23 22:34:12 -05:00
sliptonic
f71425ec5a 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
d355e3a946 change from radio button to checkbox per feedback 2020-04-23 19:37:12 -04:00
Daniel Wood
e4dacf571b Display 00:00:00 when the cycle time is 0 seconds 2020-04-23 18:07:32 +01:00
Daniel Wood
7153c3d836 ensure the getCycleTime function returns a value 2020-04-23 16:43:00 +01:00
Yorik van Havre
800c779e92 Arch: Added Truss tool 2020-04-23 13:18:09 +02:00
Yorik van Havre
e496f356f2 Draft: fixed regression in snapper 2020-04-23 12:05:59 +02:00
sliptonic
b9af7a1fb2 Merge pull request #3363 from dubstar-04/CoolantTidy
[Path] - Remove Duplicate Signal
2020-04-22 18:09:01 -05:00
sliptonic
5fe021809c 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
cec6e629cd FEM: ccx writer, splitted writer, make include names class attributes 2020-04-22 21:53:24 +02:00
Bernd Hahnebach
9e0a01cc4f FEM: ccx writer, fix indent and white spaces 2020-04-22 21:13:55 +02:00
Daniel Wood
233d760b6b remove debug print 2020-04-22 19:36:24 +01:00
Daniel Wood
638de03c1f Add CycleTime Attribute to PathJob 2020-04-22 19:12:14 +01:00
Daniel Wood
37ed81d070 Add cycleTime Attribute to PathOp 2020-04-22 19:10:18 +01:00
Daniel Wood
87ce2ec4d4 Add getCycleTime method to Path::ToolPath 2020-04-22 19:08:09 +01:00
Bernd Hahnebach
1a91791b27 FEM: ccx writer, improve new lines and comments 2020-04-22 18:05:59 +02:00
sliptonic
4a37aaafa4 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
c93f7e5356 Merge pull request #3371 from etrombly/locale
[PATH] remove hard coded locale from path ui
2020-04-22 09:58:03 -05:00
Yorik van Havre
9343223525 Draft: Annotation editor 2020-04-22 13:38:17 +02:00
luz.paz
1319bfe11c LGTM: Fix 'testing equality to None'
Testing whether an object is `None` using the `==` operator is inefficient and potentially incorrect.
2020-04-22 12:18:33 +02:00
David Daish
65730a492f Work towards adding references to the objects passed in python class methods. 2020-04-22 12:17:08 +02:00
David Daish
e46ca0b967 Rewrote the function and method docstrings in an imperative style. 2020-04-22 12:17:08 +02:00
David Daish
d7137fbb67 Moved __init__ docstrings into the class docstring 2020-04-22 12:17:08 +02:00
David Daish
9f4348e00a Removed incorrect apostrophies. 2020-04-22 12:17:08 +02:00
David Daish
390a093a67 Comparison with None is now using 'is' operator 2020-04-22 12:17:08 +02:00
David Daish
aaf78f9d37 Removed extra colon. 2020-04-22 12:17:08 +02:00