Commit Graph

15406 Commits

Author SHA1 Message Date
wandererfan
e0a7284135 [TD]Section UI changes 2019-11-27 07:31:45 -05:00
wmayer
7651a99914 [skip ci] fix SyntaxWarning: 'is not' with a literal. Did you mean '!='? 2019-11-25 16:29:56 +01:00
wmayer
e25c848554 for point clouds set default selection style to bounding box 2019-11-23 15:46:27 +01:00
wmayer
10831dc70a command to create a structured points object from a unstructured points object 2019-11-22 19:48:46 +01:00
asapelkin
875a463923 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
7b8f473cc9 used in-built methods instead of external algoritms 2019-11-21 18:57:06 +01:00
asapelkin
55e758c2f9 used make_shared and make_unique for creating shared pointers 2019-11-21 18:51:43 +01:00
vocx-fc
1987ecabdd Draft: PySide should be available already 2019-11-21 16:35:29 +01:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
Zheng, Lei
98f0a11ec0 Mesh: support multiple context in OpenGLMultiBuffer 2019-11-21 14:24:55 +01:00
Zheng, Lei
0d76efdb16 Mesh: fix material leaking when using VBO 2019-11-21 12:06:23 +01:00
Zheng, Lei
927bec9e96 Part: reduce memory usage in SoBrepFaceSet
Can we further reduce it to num_triangles = num_indices/4*3?
2019-11-21 11:58:44 +01:00
Zheng, Lei
17b65d536b MeshPart: support link in Tessellation 2019-11-21 11:30:02 +01:00
howetuft
f1e3b7a166 Fix -Wredundant-move warnings, 2nd try
std::move is redundant when it is used to return a local object from a function (eg return std::move(local)): indeed, returning a local object from a function implicitly moves it. Moreover using std::move this way
See https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rf-return-move-local
However, in order to avoid -Wreturn-std-move as well, a Base object is move-constructed
from Derived when required.
2019-11-18 13:44:40 +01:00
howetuft
5807ee2022 Fix -Wclass-memaccess warning
Replace C-style memset with C++ value-initialization/assignment (smarter and safer: see https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slcon3-avoid-bounds-errors)
2019-11-18 12:32:27 +01:00
wmayer
6300e09dd8 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wmayer
1e9da9b1ae [skip ci] suppress -Wgnu-zero-variadic-macro-arguments 2019-11-17 19:19:02 +01:00
wmayer
d488218701 [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 19:11:08 +01:00
Zheng, Lei
ef5acc5023 Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
hlg
de0a0c4b92 [Arch] fix invalid IFC export for annotations
* as reported here https://forum.freecadweb.org/viewtopic.php?f=39&t=40466&p=345286
* wrap IfcAxis2Placement3D in IfcLocalPlacement
2019-11-17 13:01:49 -03:00
vocx-fc
009b195258 Arch: test for viewprovider before modifying rebar
Test for the existence of the ViewObject
before calculating interval and placement.

This allows running the TestArch from the command line
without error if there is no interface, that is,
```
freecadcmd -t TestArch
```
2019-11-17 12:57:41 -03:00
wmayer
5a55c0e970 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2019-11-17 15:14:43 +01:00
wmayer
f50dc8e652 [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 15:14:18 +01:00
donovaly
ec9dffd535 simplify 2 tool names as suggested
- also correct encoding of a file
2019-11-17 08:22:09 -05:00
donovaly
896f1c25b7 TD renaming tools, part 2/2
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
donovaly
056ff6d1b6 TD renaming tools
as discussed in https://forum.freecadweb.org/viewtopic.php?p=344899#p344800
we need a more consistent naming for the Wiki
2019-11-17 08:22:09 -05:00
wmayer
e0878f2ea6 fix syntax error 2019-11-16 10:41:05 +01:00
wandererfan
aea08de14c [TD]fix Compound of Edges as Source for View 2019-11-15 20:20:30 -05:00
Bernd Hahnebach
e28cfc191a Arch, export IFC, do not export attributes with no values 2019-11-15 16:18:55 +01:00
sliptonic
f57a357de0 Merge pull request #2709 from mlampert/bugfix/boundary-dressup-cleanup
Path: Fixed circular dependency for boundary dressup
2019-11-13 15:40:57 -06:00
wmayer
f14371bc06 convert enum to enum class to fix -Wgnu-redeclared-enum 2019-11-13 22:39:27 +01:00
mlampert
e24cdc4e20 Merge branch 'master' into bugfix/boundary-dressup-cleanup 2019-11-12 20:14:30 -08:00
wandererfan
4c0bb37f4d [TD]Add getEdges Py functions 2019-11-12 07:08:50 -05:00
mlampert
21625ebdf0 Merge branch 'master' into bugfix/boundary-dressup-cleanup 2019-11-11 18:25:00 -08:00
vocx-fc
6626b52b5f Draft: rename SubelementModify to SubelementHighlight 2019-11-11 18:04:10 -03:00
carlopav
54f59edff1 [Draft] Edit: allow multiple objects editing
Allow editing of multiple objects at once.
2019-11-11 18:00:02 -03:00
carlopav
e3d8da2cf1 [Draft] Edit: fix bug #4187
Fix bug #4187. When canceling a Dwire editing session with the Esc key or the "close" button Dwire editing breaks.
2019-11-11 17:59:08 -03:00
paullee0
f26bd8cea3 [Arch] Test : if Sketch, fuse solid; otherwise, do makeCompound 2019-11-11 17:57:59 -03:00
paullee0
81cb1c6666 [Arch] - To allow exportIFC.py to work properly on sketch, which use only 1st face / wire.
Not fusing baseface in getExtrusionData(); fusing solids execute()

Forum Discussion - Arch Wall - Based on Sketch Issues

https://forum.freecadweb.org/viewtopic.php?f=39&t=31235&p=343444#p343444
2019-11-11 17:57:59 -03:00
Markus Lampert
33ed9187c6 Fixed circular dependency for boundary dressup 2019-11-10 20:19:52 -08:00
wandererfan
e64929de14 [TD]const-ness for dump function parameter 2019-11-10 15:58:45 -05:00
wmayer
4e7c2a233f add method to get wires of mesh boundaries 2019-11-10 11:14:04 +01:00
wmayer
4b604c677b support of transparent image planes 2019-11-09 15:11:18 +01:00
wmayer
be69317c64 [skip ci] make mesh/points cutting working for nested view providers 2019-11-09 11:58:54 +01:00
wmayer
ae5a6a2350 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
a128489ea3 [skip ci] for curvature and inspection objects set default selection style to BBOX 2019-11-09 11:21:18 +01:00
wmayer
67be01f3ac make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00
wmayer
a31b15217a [skip ci] remove Standard_Handle.hxx to still support older OCC versions 2019-11-09 11:03:23 +01:00
wandererfan
a7c491e639 [TD]Fix wrong default for parameter 2019-11-07 16:59:10 -05:00
wandererfan
585a1ed772 [TD]fix duplicate name in parent & derived 2019-11-07 16:59:10 -05:00