Markus Lampert
4f0f9e78f1
Added test case to determine directory layout.
2021-01-26 18:14:09 -08:00
sliptonic
f26e631ab6
make initial path defaults slightly more intuitive
2021-01-26 18:14:09 -08:00
Markus Lampert
c8d3210ba4
Fixed relative path search for shapes
2021-01-26 18:14:09 -08:00
sliptonic
c1202c3afa
check working dir on dock open as well as manager open.
...
use os.path.sep liberally
choose the first library if no other is selected
2021-01-26 18:14:09 -08:00
sliptonic
c815115cae
library file path bugs
2021-01-26 18:14:09 -08:00
Markus Lampert
8c4dfacb27
Don't enforce working dir setup and don't copy toolbit shapes
2021-01-26 18:14:09 -08:00
Markus Lampert
e807e1d762
Fixed loading of TC from template
2021-01-26 18:14:09 -08:00
Markus Lampert
be4d90a8b3
Fixed view providers and materials
2021-01-26 18:14:09 -08:00
Markus Lampert
c7fd08f858
Added full toolbit library path as tool-tip
2021-01-26 18:14:09 -08:00
Markus Lampert
609afaf7e9
Made all toobit shapes consistent, and added a script for further maintenance
2021-01-26 18:14:09 -08:00
Markus Lampert
ee6220193f
Fixed property update if property value happens to be 0
2021-01-26 18:14:09 -08:00
Markus Lampert
9b7aa779be
Fixed toolbit editor to properly deal with changing shape files.
2021-01-26 18:14:09 -08:00
Markus Lampert
533be4bcd1
Migrate existing toolbits to new property layout.
2021-01-26 18:14:09 -08:00
Markus Lampert
3ec542b071
Adapted client code to use new findTool... api and fixed test cases.
2021-01-26 18:14:09 -08:00
Markus Lampert
df6de8693e
Changed tool-bit search path to either absolute, local install or relative to context path
2021-01-26 18:14:09 -08:00
sliptonic
b0aa6f32fe
rework shapes with propertybag
2021-01-26 18:14:09 -08:00
Markus Lampert
7b6cb0f44c
Expand task panel according to the data in it.
2021-01-26 18:14:09 -08:00
Markus Lampert
e9ca3633ce
Added enum placeholder text and disable labels when entry field is disabled.
2021-01-26 18:14:09 -08:00
Markus Lampert
eae6c32ce8
Load PathGui in all modules which require gui resources to be loaded
2021-01-26 18:14:09 -08:00
Markus Lampert
6c5b9ccc4d
Updated the README.md with the new workflow for creating additional tool bit shapes.
2021-01-26 18:14:09 -08:00
Markus Lampert
a40569186e
Double click on property name brings up property modify editor.
2021-01-26 18:14:09 -08:00
Markus Lampert
eee8d12a17
Cleaned up property-bag task panel and added support for editing the definition.
2021-01-26 18:14:08 -08:00
Markus Lampert
ac1e863c3e
Added support for enumerations to the tool bit setup and using the property bag editors instead of re-implementing.
2021-01-26 18:14:08 -08:00
Markus Lampert
ee27fc876f
Added support for enumerations to property-bag, relies on base api to get the enum values.
2021-01-26 18:14:08 -08:00
Markus Lampert
b41282ebd2
Added tool bit attribute editor back in.
2021-01-26 18:14:08 -08:00
Markus Lampert
de1a64f090
Simplified tool bit editor using property-bags
2021-01-26 18:14:08 -08:00
Markus Lampert
79b63bd521
Add error message if toolbit shape does not contain any extractable properties.
2021-01-26 18:14:08 -08:00
Markus Lampert
b0bce7c2e0
Add last used toolbit path to the end of the list to make using multiple installation possible.
2021-01-26 18:14:08 -08:00
Markus Lampert
3f66b24f7d
Renamed 'Bit Parameters' to geometry
2021-01-26 18:14:08 -08:00
Markus Lampert
6f4df10d4a
Renamed PropertyContainer to PropertyBag, PropertyContainer already is a thing.
2021-01-26 18:14:08 -08:00
Markus Lampert
ad6d463e36
Using property container for endmill attributes.
2021-01-26 18:14:08 -08:00
Markus Lampert
8b2bfaa322
Allow property container to become a child of a body when one is selected on creation.
2021-01-26 18:14:08 -08:00
Markus Lampert
cbaa1bab85
Added ability to create multiple attributes in a row
2021-01-26 18:14:08 -08:00
Markus Lampert
cc12ce4283
Added command with menu item to create a property container.
2021-01-26 18:14:08 -08:00
Markus Lampert
e9093e1edc
Some code and comment cleanup.
2021-01-26 18:14:08 -08:00
Markus Lampert
c65ed37876
Adding properties to property container.
2021-01-26 18:14:08 -08:00
Markus Lampert
da308d13f6
Cleaned up logging
2021-01-26 18:14:08 -08:00
Markus Lampert
dd3a4be81d
Basic property container with editor, no adding of properties yet
2021-01-26 18:14:08 -08:00
Abdullah Tahiri
2f731b7da7
Sketcher: Show partial redundant messages when sketch is fully constraint
2021-01-26 09:35:30 +01:00
bitacovir
69547e2800
[UI] Replace SVG icons for Surface WB commands
2021-01-25 16:23:54 -03:00
sliptonic
dbaa2c1ba4
Merge pull request #4315 from mlampert/bugfix/vcarve-selection-and-feature-processing
...
[Path]: Bugfix/vcarve selection and feature processing
2021-01-25 10:22:05 -06:00
sliptonic
d601df3d81
Merge pull request #4316 from wwmayer/J-Dunn-master
...
Path: fix unnecessary copy on read for Command.parameters dict
2021-01-25 09:10:44 -06:00
Roy-043
74d5c0a88a
[Draft] Fix snap to center of faces of solids
...
The code would only find a center snap on the face with index=0 of solids.
In V0.19 Part.getShape was introduced (line 399). But not all consequences were not fully implemented.
In the '# we are snapping to an edge' section (line 411) the code could be cleaned up. There is no need to check if the index of the edge is correct for the parent object since we are no longer dealing with a parent object. That portion was effectively dead code.
The '# we are snapping to a face' section (line 429 in the revised code) has been modified accordingly, which fixes the bug.
Forum discussion:
https://forum.freecadweb.org/viewtopic.php?f=23&t=54747
2021-01-25 15:33:36 +01:00
wmayer
8113794e75
Win32: [skip ci] disable logging again as regression of support of Plus XT model has been fixed
2021-01-25 15:00:16 +01:00
Yorik van Havre
5d924ddd9e
Merge pull request #4303 from Roy-043/Arch_Schedule_Typo_Fix
...
[Arch] Fixed typo in Arch_Schedule
2021-01-25 13:20:02 +01:00
Yorik van Havre
c6088faca6
Merge pull request #4309 from donovaly/TD-Arch-pages
...
[TD] add Arch paper size templates
2021-01-25 13:13:59 +01:00
Yorik van Havre
ccf392cd2c
Merge pull request #4313 from donovaly/TD-center-marks
...
[TD] show by default center marks
2021-01-25 12:15:26 +01:00
Yorik van Havre
60d7c0d5df
Merge pull request #4314 from chennes/xmlNamespaceFix
...
[TD] Add the standard-defined "xml" namespace if it is not specified
2021-01-25 12:14:15 +01:00
J-Dunn
8cb513ba45
add comment about clearing Py::Dict when changing C++ data
2021-01-25 11:01:37 +01:00
J-Dunn
08297e5239
Path: fix unnecessary copy on read for Command.parameters dict
...
Contents of underlying c++ std::map data is copied to a new PyDict on every read. This is contrary to expected python behaviour which would normally just return the pointer to a python object and increment the reference counter for it. This was leading to massive redundant deletion and copying in all post processors which reference this variable in a nested loop. This PR adds a permanent dict member to the class and keeps track of changes to avoid unnecessary copying.
2021-01-25 11:01:36 +01:00