wandererfan
718dd707fa
[TD]Getters/Setters for CosmeticVertex attribs
2020-05-16 07:42:45 -04:00
wandererfan
add17980b3
[TD]Eliminate replace fcns for Cosmetic objs
2020-05-16 07:42:45 -04:00
wandererfan
1533ea01ba
[TD]Simplify Cosmetic List & PyObject handling
2020-05-16 07:42:45 -04:00
Zheng, Lei
31bb4d84b9
Gui: improve property editor status update
2020-05-16 12:15:49 +02:00
Bernd Hahnebach
6e0e7580fd
FEM: add modules to migrate old FEM app and gui objects
2020-05-16 08:29:46 +02:00
Bernd Hahnebach
13ff930e09
FEM: python base view provider, improve error handling
2020-05-16 08:29:40 +02:00
Bernd Hahnebach
75d1b97b92
FEM: gmsh mesh obj, automaticlly add all properties
2020-05-16 08:29:33 +02:00
Bernd Hahnebach
9a4d4c2451
FEM: materialobject, automaticlly add all properties
2020-05-16 08:29:25 +02:00
wmayer
f0e246f86d
Part: [skip ci] copy visual attributes of reversed shape
2020-05-15 19:26:24 +02:00
wmayer
34ebb0ecc4
fixes #0004316 : PartWB, "Reverse shapes" command reset position [skip ci]
2020-05-15 19:25:43 +02:00
vocx-fc
e9baea434e
Draft: update snake_case for unit tests
...
Also fix the name of certain functions.
Do not import `DraftFillet` any more as it's just kept
for compatibility purposes.
Do not test OCA nor AirfoilDAT as it's very improbable
that these formats will gain more support any time soon.
2020-05-15 14:44:48 +02:00
vocx-fc
50c2f31f6b
Draft: use snake case functions in draft_test_objects script
2020-05-15 14:44:48 +02:00
vocx-fc
cc5d531a59
Draft: small additions to the draft_test_object script
...
Move the docstring, set the frame as a private function,
and set `MakeFace` to `False`.
Use user's home directory to create the file. Move the order of
the parameters of the function.
2020-05-15 14:44:48 +02:00
carlopav
125d0ca84d
Draft: various cleanup
...
Mainly added an empty line at the end of each file and changed docstrings.
2020-05-15 14:43:26 +02:00
carlopav
2c4de88132
Draft: moved ConvertDraftText to utils.py
2020-05-15 14:43:26 +02:00
carlopav
95fe3076bd
Draft: split DrawingView from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
b1e2574f1c
Draft: move get_DXF to utils.py
2020-05-15 14:43:26 +02:00
carlopav
3a44b4e2c0
Draft: moved getrgb to utils.py
2020-05-15 14:43:26 +02:00
carlopav
ccad0fed30
Draft: cleanup of Array properties after splitting
2020-05-15 14:43:26 +02:00
carlopav
79ef4d991a
Draft: split Array from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
052fd1750b
Draft: cleanup of Draft.py
2020-05-15 14:43:26 +02:00
carlopav
26e8adaee4
Draft: split PointArray from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
dfee68d05a
Draft: split Path Array and viewprovider Array from Draft.Py
...
Draft: fix typo in PathArray
2020-05-15 14:43:26 +02:00
carlopav
1f88ef3a6f
Draft: split array function from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
006a1a4036
Draft: Split DraftLink from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
eb59836ae8
Draft: updated ocumentation of Draft Scale function
2020-05-15 14:43:26 +02:00
carlopav
5e8f94d7d6
Draft: split sub_object_move from Draft.py
2020-05-15 14:43:26 +02:00
carlopav
59c0bf1c38
Draft: split sub_object_move from Draft.py
2020-05-15 14:43:26 +02:00
sliptonic
92fe9adebb
Merge pull request #3464 from Russ4262/BoundaryDressup_fix
...
Path: Fix for `BoundaryDressup` and fix for `Profile` when extrude vector is roughly zero
2020-05-14 09:30:46 -05:00
Yorik van Havre
4f36c23cbd
Arch: Allow to skip import of IFC types from python
2020-05-14 11:49:36 +02:00
Russell Johnson
ffc353f294
Path: Fix for .extrude() vector roughly zero
2020-05-13 21:55:06 -05:00
Russell Johnson
a679356b48
Path: Add if edge: test clause
...
`If edge:` handles 'NoneType' edges returned from `PathGeom.edgeForCmd()`.
Includes some PEP8 formatting.
2020-05-13 21:55:06 -05:00
Russell Johnson
58ba0e1c39
Path: Fix related to linkStockAndModel checkbox.
...
The StockEdit class is reused by BoundaryDressup, and this checkbox does not exist in its UI panel.
2020-05-13 16:34:06 -05:00
Bernd Hahnebach
b5beab8f83
FEM: code conventions, update flake8 command
2020-05-13 18:00:45 +02:00
Bernd Hahnebach
8796d7bc11
FEM: App and Gui init script:
...
- improve imports
- add comments
- some code formating
2020-05-13 17:58:05 +02:00
Yorik van Havre
4fa967b240
Arch: Fixed export of non-ortho extrusions to IFC
2020-05-13 14:12:37 +02:00
Zheng, Lei
e6f4a1797c
Gui: reset model transformation scaling in SoAutoZoomTranslation
2020-05-13 13:21:58 +02:00
vocx-fc
dd42bfbc92
Draft: migrate individual properties
...
Since we know how the old class looks like,
we can write code to save the value of the older properties,
and then remove them.
Then we can assign the new class, which will create new properties,
and then we can assign the old values to these.
This can be done for both the proxy object and
for the viewprovider.
2020-05-13 11:37:56 +02:00
vocx-fc
16d8986ff6
Draft: use onDocumentRestored to migrate the Fillet
...
Identify the previous object as `DraftFillet.Fillet`
and then use the new proxy class `draftobjects.fillet.Fillet`
and new viewprovider `view_fillet.ViewProviderFillet` on it.
2020-05-13 11:37:56 +02:00
vocx-fc
d438aec821
Draft: remove old DraftFillet class, and make it a redirect
...
Remove the make function that creates the old object,
its corresponding Gui Command, and the old `DraftFillet.Fillet`
proxy class, which now is a redirection to the new `Fillet`
class defined in `draftobjects.fillet`.
Also change the unit test, and the `draft_test_object` script
to run `Draft.make_fillet`.
2020-05-13 11:37:56 +02:00
vocx-fc
68e6d8d164
Draft: activate both Fillet commands to test
...
In this moment the old fillet tool is `Draft_Fillet`
and the new tool is `Draft_Fillet_new`. They are imported both,
so they can both be tested from the interface.
2020-05-13 11:37:56 +02:00
vocx-fc
c17546557d
Draft: add new Gui Command for Fillet
2020-05-13 11:37:56 +02:00
vocx-fc
d437242924
Draft: split Fillet code into various modules
...
The original code was in `DraftFillet.py` which is split
into a different modules like the rest of the workbench.
The object code is in `draftobjects`, the viewprovider
is in `draftviewproviders`, and the function to create it
is in `draftmake`.
2020-05-13 11:37:56 +02:00
Zolko
fc4e83ad63
setting Datum Line size manually
2020-05-13 11:23:28 +02:00
wmayer
17c79f19e2
Gui: [skip ci] rename Std_ExportGraphviz to Std_DependencyGraph
2020-05-13 10:26:57 +02:00
wandererfan
dc007c1893
[TD]Highlight colour set in wrong class
2020-05-12 22:52:40 -04:00
wandererfan
5e0165bc4a
[TD]Fix wrong scale in Section
2020-05-12 22:52:40 -04:00
sliptonic
9c27f1078e
Merge pull request #3443 from Russ4262/UnifiedProfile
...
Path: Combine Contour, Profile Faces and Profile Edges into unified Profile operation
2020-05-12 12:06:36 -05:00
wmayer
99ab82ed0b
Mesh: [skip ci] cleanup cylinder fit
2020-05-12 15:11:01 +02:00
wmayer
6b022b277a
PartDesign: [skip ci] fix ambiguous widget name
2020-05-12 14:30:53 +02:00