WandererFan
9d038ddf60
Make decimal point optional in FormatSpec
2017-11-12 19:08:33 -05:00
WandererFan
44fd200166
Rotate DrawViewPart around part centroid
2017-11-12 19:08:32 -05:00
WandererFan
4e474cf60b
Handle variable UoM schemes in Dimensions
2017-10-19 13:24:08 +02:00
wmayer
46d516b465
fix coverity issue
2017-10-15 21:08:04 +02:00
wmayer
1abc3ab82d
fix -Winconsistent-missing-override
2017-10-15 20:26:10 +02:00
wmayer
8b2fcf3677
fix several kind of warnings:
...
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
luzpaz
ab8f8919b6
Misc. typos
...
+ some are doxy others are just comment code.
+ some minor whitespace and grammatical tweaks.
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366 ). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
WandererFan
381a7375e7
Fix XXX is still touched after recompute in DPG
2017-10-02 13:48:45 -03:00
WandererFan
d6a5672f89
Allow Views of App::Parts
2017-10-02 13:48:45 -03:00
WandererFan
6b922acdd5
Change links to Global scope
2017-10-02 13:48:45 -03:00
WandererFan
f3758bed5b
add missing logic for "true" dimensions
2017-10-02 13:48:45 -03:00
WandererFan
4b8d04f528
change isDeleting to isUnsetting
...
- DocumentObject::isDeleting was changed to isRemoving.
This commit just prevents future confusion.
2017-10-02 13:48:45 -03:00
WandererFan
4b3ab9e74e
Allow Section based on ViewMulti
2017-10-02 13:48:45 -03:00
wmayer
46c0266591
fix determination of number of columns
2017-09-24 21:33:34 +02:00
wmayer
2f59c18664
0003010: Spreadsheet -> Drawing, maximum rows
2017-09-24 21:08:30 +02:00
wmayer
69e962b07a
fix override warnings
2017-09-15 08:26:48 +02:00
wmayer
ed87b819cb
fix override warnings
2017-09-15 01:49:12 +02:00
wmayer
09737f2db3
rename method from remObject to removeObject to be more readable
2017-09-13 18:57:38 +02:00
WandererFan
b9f5de85b2
Handle Qt5 change from QString::sprintf to asprintf
2017-09-10 15:26:16 +02:00
WandererFan
d15cd94f19
Ensure DrawView picks up DrawPage Scale at creation
2017-09-10 15:25:58 +02:00
WandererFan
dfe174aec5
Use system Decimals, alternate or custom for Dimensions
...
- Also make Dimension arrowhead size adjustable
2017-09-10 15:25:37 +02:00
WandererFan
833bd66a18
Fix page alignment when change to different Template
2017-09-10 15:25:22 +02:00
WandererFan
ab28ef7f62
Prevent crash when Source(s) have no Shape
2017-09-10 15:25:05 +02:00
WandererFan
485321f8ea
Add requestPaint formerly in DrawView::execute
2017-09-10 15:24:50 +02:00
WandererFan
3e21b97867
Fix handling of Scale change in DrawViewSymbol classes
2017-09-10 15:24:30 +02:00
WandererFan
9e6248acc9
Add dumpSymbol method to DrawViewSymbol based classes
...
- this is mainly for debugging output from Arch/Draft
2017-09-10 15:24:14 +02:00
WandererFan
1722d1cd7d
Include osifont in TechDraw
...
- also use PropertyFont instead of PropertyString
2017-09-10 15:23:46 +02:00
WandererFan
781338c347
Add RedrawPage command
2017-09-10 15:23:23 +02:00
WandererFan
b68b7badca
Fix #2967 Allow fcstd to open without drawing TechDraw::DrawPage
2017-09-10 15:23:04 +02:00
WandererFan
d27b8387e8
Eliminate superfluous DPG executes
2017-09-10 15:22:49 +02:00
WandererFan
137930c654
Add Page level redraw signal
2017-09-10 15:22:34 +02:00
WandererFan
e8f2c68b5c
Allow DrawPage updates to be suspended
2017-09-10 15:21:54 +02:00
wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
WandererFan
8cf2015c3c
Fix upside down GeomHatch on asymmetric faces
2017-07-17 19:47:44 -03:00
WandererFan
cbf42ad3b0
Coverity fixes
...
151677
151789 - OK as is
152005
152508
154871 - false positive
156593
163235
2017-07-17 19:47:44 -03:00
luzpaz
2badea8c37
TechDraw: typo fix
2017-07-10 19:29:55 -03:00
WandererFan
a32972ef2f
Fix Drawing/TechDraw BSplines
...
In some cases the Geom_BSplineCurve returned by
BrepAdaptor_Curve.BSpline() does not have the
same endpoints as the original Edge and should
not be used in place of Approx_Curve3d.
2017-06-28 22:14:01 +02:00
WandererFan
f56df2ebee
Add viewPartAsSvg in App
2017-06-23 08:14:46 +02:00
WandererFan
fc1c863034
Add viewPartAsDxf function in App
2017-06-23 08:14:46 +02:00
WandererFan
17b69c7c3a
Replace DPG table lookup logic with calculations
...
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun. There were many errors in the tables that
needed manual checking to correct. The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
WandererFan
f53a3bde8f
Add tolerance parm to checkParallel
2017-06-23 08:14:46 +02:00
WandererFan
052704eb0c
Fix #1937 mis-shapen projections in TechDraw and Drawing
...
Complex curves need more bezier segments for accurate representation.
2017-05-30 15:44:38 +02:00
WandererFan
76280891a1
DrawGeomHatch improvements
...
-draw & align dash patterns correctly on all QPainters using QGPathItem
-Allow patterns to start with space
-ensure horiz & vert lines pass through pattern origin
-Scalable complex patterns
2017-05-10 17:43:48 +02:00
WandererFan
ae269dfc28
Prevent ghost centre marks in ViewDetail
2017-05-10 17:43:48 +02:00
WandererFan
f60464e545
implement detail view highlight in base view
2017-05-10 17:43:48 +02:00
WandererFan
eb34dc5103
fix confusing class name
2017-05-10 17:43:48 +02:00
WandererFan
75397d9e43
clean up GeomHatch feature, gui & dialog
...
Refactor code, allow dialog to edit feature, update graphics on change
prep for dash line start positioning.
2017-05-10 17:43:48 +02:00
Peter Lama
a75a98ef27
Use OCCT Handle macro for Handle_ classes
...
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
WandererFan
97ca11f9f2
Increase tolerance for overlapping Vertexes
...
Some "valid" shapes are being passed to findShapeOutline where edges
that should be connected are in fact separated 10x the expected tolerance
(2*Precision::Confusion) for 2 overlapping TopoDS_Vertex.
IntTools_Tools:ComputeVV also reports these Vertices as further apart than
their combined tolerances should allow.
This change introduces a tolerance into DrawUtil and EdgeWalker vertex
comparisions that is quite "sloppy" (0.00001) but which handles the sample
objects correctly. This tolerance is adequate for drawings. Other uses
should be considered on case by case basis.
2017-04-02 20:04:34 -03:00
Kunda
19f8fd4c10
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00