Commit Graph

16916 Commits

Author SHA1 Message Date
paul lee
999c3d8bf4 [ArchWall] ArchWall Offset should now works with Base as Sketch 2020-06-24 11:29:07 +02:00
Bernd Hahnebach
40fccdcbc8 FEM: ccx constraint section print, add unit test 2020-06-24 09:22:09 +02:00
Bernd Hahnebach
3a2485033a FEM: examples, section print, fix to setup on cmd mode 2020-06-24 09:22:01 +02:00
UR-0
fc04645402 FEM: ccx constraint section print, add task panel 2020-06-24 07:52:16 +02:00
UR-0
346faafd6b FEM: ccx constraint section print, add Gui command and icon 2020-06-24 07:52:16 +02:00
Sudhanshu Dubey
128819d9ff FEM: examples, add section print 2020-06-24 07:52:16 +02:00
UR-0
f5b235c47b FEM: ccx constraint section print, implement in ccx writer 2020-06-24 07:52:16 +02:00
UR-0
337c935f20 FEM: ccx constraint section print, add object 2020-06-24 07:52:16 +02:00
wandererfan
94e5f205ee [TD]CosmeticVertex default size 2020-06-23 08:21:13 -04:00
wmayer
312e98d003 OpenSCAD: [skip ci] fix missing treeview icon 2020-06-23 12:34:25 +02:00
Gabriel Wicke
fb0aa86b6e [part] More robust tessellation angular deflection default
OCC currently does not reliably enforce linear deflection on curved
surfaces, especially curved lofts over nurbs splines. To avoid surprises
when tight tolerances are needed, replace the static default angular
deflection of 0.5 radians (~28 degrees), with a more sensible angular
deflection derived from the provided linear deflection tolerance.

By adding the default heuristic to TopoShape, we can keep typical
tessellate() and STL export functionality users simple, and also avoid
the need to implement similar heuristics in many places. If more
explicit control over angular deflection is needed for some use cases,
then we could still choose to expose the option to override the derived
default explicitly.

The hope is that OCC's linear deflection enforcement will be more
reliable at some point, at which point this heuristic will no longer be
needed.
2020-06-23 12:17:51 +02:00
Bernd Hahnebach
248fd5e239 FEM: examples, some comment changes 2020-06-23 09:12:24 +02:00
Bernd Hahnebach
996a59b54a FEM: unit test, fix setting up some examples 2020-06-23 09:12:18 +02:00
Sudhanshu Dubey
891a398ffb FEM: examples, use gmsh mesh object instead off pure mesh object 2020-06-23 07:19:09 +02:00
Sudhanshu Dubey
3fdd7dc260 FEM: examples, ccx_cantilever_std separated into 4 examples 2020-06-23 07:18:56 +02:00
Sudhanshu Dubey
93b5df4be3 FEM: examples, boxanalysis separated into 2 examples
The static and frequency analysis were separated
2020-06-23 07:18:50 +02:00
Sudhanshu Dubey
4fa324a5b7 FEM: examples, manager, add missing run in run all 2020-06-23 07:18:39 +02:00
Sudhanshu Dubey
f30c9f3250 FEM: examples, flow 1D, add comment 2020-06-23 07:18:31 +02:00
Sudhanshu Dubey
4d731153d8 FEM: examples, bimetall, move comment 2020-06-23 07:18:25 +02:00
Yorik van Havre
f0eba317aa Arch: fixed minor bug in Offline rendering module 2020-06-22 14:12:17 +02:00
vocx-fc
9e871cf27b Arch: fix calculation of fence objects
In the past it used the `Draft.calculatePlacementsOnPath` function
but this function was moved and modified when the `PathArray`
was improved. The `calculatePlacementsOnPath` function
was moved to `draftobjects.patharray`
and renamed `placements_on_path`.

This doesn't completely fix the Fence object because some other
modifications need to be done in the calculation of the paths.
2020-06-22 11:59:58 +02:00
triplus
38ada85382 Icon themes Part viewproviders 2020-06-22 11:58:06 +02:00
Bernd Hahnebach
343dcde085 FEM: elmer writer test mode, do not search for gmsh binary 2020-06-22 06:46:02 +02:00
Bernd Hahnebach
8f0b3d55e3 FEM: unit tests, use unique dir for each run 2020-06-22 06:45:55 +02:00
wmayer
08e7797730 Part: [skip ci] add missing headers 2020-06-21 22:53:42 +02:00
sliptonic
5c5a882ec5 Merge pull request #3599 from GeneGH/Edits
Path Simulator - Recognition of canned cycle cancellation
2020-06-21 13:22:49 -05:00
sliptonic
0c79264d5c Merge branch 'master' into master 2020-06-21 10:38:47 -05:00
sliptonic
bd8bada828 Merge pull request #3636 from Russ4262/PathSlot_fixes
[Path] Slot operation fixes and improvements
2020-06-21 10:22:52 -05:00
donovaly
edc21e9339 TaskProjGroup.ui: correct a typo 2020-06-21 08:22:49 -04:00
donovaly
ed429e8a2c disable keyboardTracking for the scale to avoid unnecessary recomputes 2020-06-21 08:22:49 -04:00
donovaly
eb6a8e5339 [TD] add spacing to ProjGroup dialog
Add the setting to auto-distribute projections to the dialog
2020-06-21 08:22:49 -04:00
Russell Johnson
f525fedd11 Path: Slot operation fixes and improvements
- Add `CutPattern` feature, defaulting to `ZigZag`.
- Change inter-pass retractions to SafeHeight for multi-pass operations.
- Fix division by zero instance for particular Perpendicular use case.
- Synchronize property values with inputs in both the Property View and Tasks Editor windows.
- Change `LayerMode` default value to `Multi-pass`.
- Improve debug messaging.
- Consolidate code and remove unused code.

Path: fix exception thrown
2020-06-20 14:27:12 -05:00
wandererfan
d88d341d20 [TD]Cosmetic Edge endpoint inversion 2020-06-20 12:36:54 -04:00
wandererfan
e2efc19982 [TD]Detail default scale 2020-06-20 12:36:54 -04:00
sliptonic
48b0c71c20 [Path] Make jobs delete cleanly.
Deletion of tool controllers now works for toolbits as well
2020-06-19 13:17:17 -05:00
sliptonic
c9418a7597 Merge pull request #3631 from Russ4262/task_panel_icons
[Path] Add icons to Tasks Window tabs
2020-06-19 12:32:07 -05:00
sliptonic
25445b0cb5 Merge pull request #3584 from gwicke/area_tweaks
Path: Area fixes and robustness tweaks
2020-06-19 12:30:32 -05:00
sliptonic
b5ba6b96bd Merge pull request #3629 from gwicke/line_simplification
[path] Implement Ramer-Douglas-Peucker line simplification
2020-06-19 11:12:35 -05:00
sliptonic
a7a86f54bc Merge pull request #3624 from Russ4262/SlotCutter
[Path] Add new `Slot` operation to PathWB 2D tool group
2020-06-19 11:12:01 -05:00
sliptonic
3dab70097c Merge pull request #3600 from sliptonic/feature/customimprove
[PATH] make -custom- op compliant. Improve gcode_pre importer
2020-06-19 11:11:21 -05:00
sliptonic
c238c7fd6f Merge pull request #3568 from Russ4262/3D_Surface_fixes_2
[Path] 3D Surface and Waterline: FinalDepth guess and `InternalFeaturesCut` fixes
2020-06-19 11:10:14 -05:00
sliptonic
38cda180b2 Merge pull request #3545 from Russ4262/Multi-profile
[Path] Profile - New `ExpandProfile` feature for compound profile operations
2020-06-19 11:09:04 -05:00
sliptonic
c5c144fae1 Merge pull request #3574 from Russ4262/ToolBit_OCL_update
[Path] 3D Surface and Waterline: OCL-ToolBit compatibility fix
2020-06-19 11:08:18 -05:00
wandererfan
7e8c441775 [TD]Fix jumping section view 2020-06-19 07:18:47 -04:00
Harald Geyer
98c05349ac Arch: importIFC: Allow faster inserts
For huge models just parsing the IFC file in ifcopenshell takes
significant time. When importing via IFC explorer from the BIM
workbench, the file is already open.

This change allows to pass the ifcopenshell.file object instead of a
filename, making the process much more efficient.

Backwards compatible code to use this will be submitted for the BIM
workbench soon. Then we have a workflow, where we can insert items
from big IFC files in multiple rounds quickly.
2020-06-19 12:19:20 +02:00
donovaly
37c4c90ab0 [Spreadsheet] add visible alias check
as discussed in https://forum.freecadweb.org/viewtopic.php?p=408992#p408981
visible feedback is missing for the Alias field. This PR add it and also adapts the UI label style.
2020-06-19 12:17:04 +02:00
vocx-fc
abfda26483 Draft: add onChanged method in the derived annotation classes
The classes `ViewProviderDimensionBase`, `ViewProviderLinearDimension`,
`ViewProviderAngularDimension`, `ViewProviderText`, and
`ViewProviderLabel` use `super()` to call the `onChanged` method
of the parent class `ViewProviderDraftAnnotation`.

In this way the `AnnotationStyle` property correctly modifies
the properties of every annotation object.
2020-06-19 12:15:25 +02:00
vocx-fc
bed3dd2372 Draft: improve setting of properties of dimensions, labels, and texts
Add view properties of dimensions, labels, and text objects
through methods, calling the parent classes, and `ViewProviderDraftAnnotation`
when needed.
2020-06-19 12:15:25 +02:00
vocx-fc
245fa7af0f Draft: clean up the ViewProviderDraftAnnotation class
This class is the base of the viewproviders of annotation-type
objects like dimensions (linear, radial, angular), labels,
and texts.

The basic properties of `ViewProviderDraftAnnotation`
are set up by a method `set_properties`, which can be called
in the derived classes.

In the general proxy object `DraftAnnotation` we implement
the `onDocumentRestored` method in order to add the missing
view property `AnnotationStyle` to older objects.
2020-06-19 12:15:25 +02:00
vocx-fc
4909abf458 Draft: move default annotation style properties to utils module
These style properties are used by `ViewProviderDraftAnnotation`
and by the Gui Command `Draft_AnnotationStyleEditor`.

Therefore, they are moved from `draftguitools.gui_annotationstyleeditor`
module to the `draftutils.utils` module, so that they
are in a central location where they won't cause circular
dependencies.
2020-06-19 12:15:25 +02:00