Commit Graph

14427 Commits

Author SHA1 Message Date
donovaly
7ef0d476b5 DrawViewAnnotation: also call the handleChangedPropertyType of the base class 2019-12-01 21:48:46 -05:00
donovaly
deac1d8595 TechDraw: add units for position
see https://forum.freecadweb.org/viewtopic.php?f=35&t=40608 for details
2019-12-01 21:48:46 -05:00
Markus Lampert
e1d1f01991 Set feed rate on vertical boundary moves. 2019-11-29 22:15:38 -08:00
0penBrain
b809867021 Improve Python compatibility
According remark which I agree with
2019-11-29 14:52:29 +01:00
0penBrain
0a8c73f325 Fix bad 'pt' unit definition
'pt' unit has been defined as 1.25 px while it is 4/3 px (~1.33 px).
Relates to issue #4200
Relates to Syres916@3db7496 (despite bug always existed, even before this commit)
Source : https://oreillymedia.github.io/Using_SVG/guide/units.html
2019-11-29 14:52:29 +01:00
wmayer
83ecb8a5ec set default deflection of 0.01 when exporting shape as STL 2019-11-29 13:46:30 +01:00
wmayer
f7be6933fd fix typo in German translation 2019-11-29 12:01:37 +01:00
wmayer
58fdbdc4d1 pivy: avoid possible segfault when setting None to an SoSFImage field 2019-11-28 15:44:42 +01:00
wandererfan
2efd9a133e [TD]fix "override" compiler warnings 2019-11-27 07:31:45 -05:00
wandererfan
ba28f959af [TD]fix assembly CS has wrong XDir 2019-11-27 07:31:45 -05:00
wandererfan
fff0029de5 [TD]correct face detection to avoid ghost faces 2019-11-27 07:31:45 -05:00
wandererfan
90702da536 [TD]Add geometry debugging tool 2019-11-27 07:31:45 -05:00
wandererfan
cefb719b6e [TD]Add Scale to Section gui 2019-11-27 07:31:45 -05:00
wandererfan
a2390cb33f [TD]TaskSectionView minor tune up 2019-11-27 07:31:45 -05:00
wandererfan
acc7686b83 [TD]Section Line position 2019-11-27 07:31:45 -05:00
wandererfan
54d9e04304 [TD]use XDirection to align DPGI in DPG 2019-11-27 07:31:45 -05:00
wandererfan
9381d4cb9f [TD]Handle missing XDirection on old files 2019-11-27 07:31:45 -05:00
wandererfan
cd2764fcb9 [TD]let DVD fail gracefully 2019-11-27 07:31:45 -05:00
wandererfan
4323ca24e7 [TD]Fix detail position 2019-11-27 07:31:45 -05:00
wandererfan
92dfecea75 [TD]correct alignment of Section & Detail with Base 2019-11-27 07:31:45 -05:00
wandererfan
333b67026c [TD] add CS3 dump 2019-11-27 07:31:45 -05:00
wandererfan
51d4c16e47 [TD]Section UI changes 2019-11-27 07:31:45 -05:00
wmayer
fb43b00501 [skip ci] fix SyntaxWarning: 'is not' with a literal. Did you mean '!='? 2019-11-25 16:29:56 +01:00
wmayer
5cbf18b8bf for point clouds set default selection style to bounding box 2019-11-23 15:46:27 +01:00
wmayer
9e93e621f9 command to create a structured points object from a unstructured points object 2019-11-22 19:48:46 +01:00
asapelkin
8bc5b585c8 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
e9814d9183 used in-built methods instead of external algoritms 2019-11-21 18:57:06 +01:00
asapelkin
f13a7627ae used make_shared and make_unique for creating shared pointers 2019-11-21 18:51:43 +01:00
vocx-fc
5ee4a2e87c Draft: PySide should be available already 2019-11-21 16:35:29 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
Zheng, Lei
079808b816 Mesh: support multiple context in OpenGLMultiBuffer 2019-11-21 14:24:55 +01:00
Zheng, Lei
4b07117a2e Mesh: fix material leaking when using VBO 2019-11-21 12:06:23 +01:00
Zheng, Lei
df0366a6f3 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
95f20b9d85 MeshPart: support link in Tessellation 2019-11-21 11:30:02 +01:00
howetuft
fb64a860e6 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
4b5ca31149 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
71dae0e639 handle some more warnings: -Wkeyword-macro -Wdeprecated-declarations -Wextra-semi 2019-11-18 11:56:08 +01:00
wmayer
e117679922 [skip ci] suppress -Wgnu-zero-variadic-macro-arguments 2019-11-17 19:19:02 +01:00
wmayer
c0d58b8f3e [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 19:11:08 +01:00
Zheng, Lei
a3e88a399f Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
hlg
962904a96f [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
d506192b15 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
5605defe66 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2019-11-17 15:14:43 +01:00
wmayer
c6a5bbcf9e [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 15:14:18 +01:00
donovaly
1a21e8d1ee simplify 2 tool names as suggested
- also correct encoding of a file
2019-11-17 08:22:09 -05:00
donovaly
15e5b29c22 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
914edfc2ce 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
f65a72deb7 fix syntax error 2019-11-16 10:41:05 +01:00
wandererfan
fc7890cf10 [TD]fix Compound of Edges as Source for View 2019-11-15 20:20:30 -05:00
Bernd Hahnebach
d0339c5674 Arch, export IFC, do not export attributes with no values 2019-11-15 16:18:55 +01:00