Commit Graph

159 Commits

Author SHA1 Message Date
wandererfan
242717f5e3 Fix out of scope warnings
- Links within TD were not set to Global scope. This caused
  problems when a Page was in a container, but Views were not
  in the container.
2019-01-22 10:15:04 -02:00
wandererfan
deeceead68 Fix #3698 Detail of Section View 2018-11-19 10:12:08 +01:00
wmayer
d7ec2b1368 Replace Base::Exception with appropriate subclass 2018-11-14 19:42:10 +01:00
wandererfan
e2c22ae98e Suppress spurious message
- was reporting "pattern not found" even if
  hatch source file was not a .pat file.
2018-09-26 16:59:00 +02:00
WandererFan
02b64dca3a VPart/VSection Graphic Properties to Gui side 2018-02-14 15:42:26 -05:00
WandererFan
71253bad81 Fix crash when Source.Shape is Null 2017-12-31 14:54:05 +01:00
WandererFan
309178f2ff Allow multiple sources for all View types 2017-12-31 14:54:05 +01:00
WandererFan
3b8c240f89 Rotate DrawViewPart around part centroid 2017-11-12 19:08:32 -05:00
WandererFan
ce7f6ed351 Allow Section based on ViewMulti 2017-10-02 13:48:45 -03:00
WandererFan
e94dce3906 Add requestPaint formerly in DrawView::execute 2017-09-10 15:24:50 +02:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
ddbbae9956 Allow DrawPage updates to be suspended 2017-09-10 15:21:54 +02:00
wmayer
0d617f97d6 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
0ce1a6f730 fix confusing class name 2017-05-10 17:43:48 +02:00
WandererFan
bf4a80dad5 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
fa4bebf2e0 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
b20d51e1b4 Cleanup orphan features on DVP delete 2017-02-09 15:45:04 -05:00
WandererFan
392ce697b4 Fix crash if BaseView null on Section delete 2017-02-09 15:45:04 -05:00
WandererFan
1c8395e229 fix naming conflicts 2017-01-29 19:40:34 -05:00
WandererFan
60c7f2f69a Geometric hatch for Section face 2017-01-29 19:40:34 -05:00
WandererFan
33479bd4e3 Initial working version of geometric crosshatch/PAT files 2017-01-29 19:40:34 -05:00
WandererFan
3de7bc8b73 Remove section line from DVP on delete of DVS 2017-01-29 19:40:32 -05:00
WandererFan
1bae86f3b1 Initial Bitmap fills for Faces
- also texture from svg (not used yet)
2017-01-29 19:40:32 -05:00
WandererFan
01b34749a9 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan
d14cfa415f getViewAxis -> DVP virtual method 2016-12-29 14:42:46 +01:00
WandererFan
605728bdea Consolidate Section logic in DrawViewSection 2016-12-04 15:26:16 +01:00
WandererFan
9ad177915d Create outline of 3D shape 2016-11-07 17:20:19 -05:00
WandererFan
4119af2d64 Fix test script to match new code
Fix nullptr bug revealed by bad test script!
2016-10-31 11:06:15 -02:00
WandererFan
6b175cc0c9 Section Rebuild subproject
new dialog
new Section/SectionLine logic
remove XAxisDirection property
2016-10-31 11:06:15 -02:00
WandererFan
ecc9be4f23 Allow hatching of section face 2016-10-31 11:06:15 -02:00
WandererFan
e0ca83d5cc Performance Ph2 2016-10-06 11:00:35 -03:00
WandererFan
c216da56d5 Performance improvements Ph1 2016-09-29 17:37:20 -04:00
WandererFan
2ed026e173 reduce use of "execute" on cosmetic changes. 2016-09-11 13:12:24 -04:00
WandererFan
6b9d422136 Protect EdgeWalker against bad input 2016-09-11 13:12:24 -04:00
WandererFan
1aec9b8ab7 Avoid Bnd_Box is void exception when shapes don't intersect. 2016-09-11 13:12:24 -04:00
WandererFan
e7338ee425 Break up try/catch blocks for easier debugging 2016-09-08 16:18:52 +02:00
WandererFan
0cde0b0d48 Fix part/section handling of Face OuterWire 2016-09-01 12:14:43 -04:00
WandererFan
928856ec3a Minor performance improvements 2016-09-01 12:14:42 -04:00
WandererFan
1bf2dc7411 Fix Section arrows,xDir,label 2016-09-01 12:14:42 -04:00
WandererFan
1dfdc5f079 Py binding for EdgeWalker
refactor EdgeWalker code from DVP,DVS
2016-09-01 12:14:42 -04:00
WandererFan
ae9f1c5994 Create ViewSection from ViewPart
Property name changes
Touch section when View SymbolSection changes
2016-08-26 11:39:03 -03:00
WandererFan
2005541967 Fix sections not in xy plane 2016-08-16 14:29:15 +02:00
Ian Rees
6858ef9c41 TechDraw: Fix Coverity "Structurally Dead Code"
CID 152020
2016-08-16 08:15:09 +12:00
wmayer
0d011e2190 fix various compiler warnings 2016-08-09 13:16:26 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wmayer
c294c8bdbd + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
Mateusz Skowroński
6abf16b720 Fix files encoding. Go from ISO8859-1 to UTF-8. 2016-07-14 14:49:19 +02:00
WandererFan
1038630eeb Remove superfluous OCC includes 2016-07-14 14:39:06 +02:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
6cb130b559 Implement ShowCutSurface 2016-07-11 15:32:16 +02:00