Commit Graph

63 Commits

Author SHA1 Message Date
Jean-Marie Verdun
5ef87acb70 Enable the ReadShapeCompoundMode into the C++ code 2017-07-26 16:16:06 -03:00
wmayer
5bc9581113 fix whitespaces 2017-07-13 21:46:24 +02:00
Jean-Marie Verdun
9ec695557a Fix compiler Warnings 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
8ab063aaa5 Final fix for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
a120a1cbbe Add initial code for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
4355b2864c Compute the document before inserting STEP file.
Consider that inserted Tree Element are computed and remove the Touched flag
before recomputing lately the document
This is accelerating the STEP file
2017-05-07 21:45:31 +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
wmayer
add9bf910b fix memory leak on IGES import 2017-04-03 19:09:47 +02:00
wmayer
a289538e03 fixes #1999: Tessellation data or OpenInventor data memory leak 2017-04-03 18:21:49 +02:00
wmayer
7901cf7ad2 issue #0002698: Exported STEP-File contains surplus PRODUCTS 2017-03-26 18:29:27 +02:00
Jean-Marie Verdun
e9c782234b Move Step reader to New Part Design workflow 2017-03-23 21:43:46 +01:00
wmayer
944d62efc9 py3: ported Import to python3 2017-02-12 21:01:22 +01:00
Jean-Marie Verdun
fc4a1c6081 Activate only UI tree leaf as to display properly colors when browsing a STEP (there is currently a limitation within the reader which creates compound which are totally grey) and accelerate browsing by de-activating Compound rendering 2017-01-30 17:59:07 +01:00
wmayer
0afd327f2a remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer
c1034fbe74 fix -Wextra in Import 2016-09-22 16:40:20 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
a5b6e5d48a + simplify porting of Import module to Python3 2016-01-21 12:08:29 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
2b2358e70b + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
b81482d597 + harmonize Coin3D cmake variables with official check 2015-07-28 14:55:15 +02:00
wmayer
7d98705396 + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d95003e92c + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
2f25170763 + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +02:00
wmayer
52db9a6cff + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00
wmayer
82edb4b50a + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
wmayer
ee86871bed + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
Sebastian Hoogen
debca91e98 remove support for automake 2014-11-26 10:26:30 +01:00
wmayer
92ebfab47a + customize STEP header 2014-10-30 11:48:33 +01:00
wmayer
76906d20a0 + customize IGES header 2014-10-29 16:39:33 +01:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
f02da38566 + fix Qt help problems 2014-10-01 17:16:43 +02:00
Stefan Tröger
72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
wmayer
3b6d07833d + compile with clang 2014-05-05 16:24:01 +02:00
mdinger
337f05d56e Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
66de74d14a + Remove redefinition of /EHa which causes warnings with QtCreator 2014-04-30 19:21:49 +02:00
wmayer
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
a17cce3559 Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
1942bb7906 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
wmayer
040c19b1c1 + relates to #0001421 2014-03-06 16:35:33 +01:00
wmayer
4686118f2a + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
64890a4552 0001182: Preserve names and colors on console mode export to STEP 2013-07-16 14:41:30 +02:00
wmayer
adc0052997 0000948: Part names are incorrect on import from STEP file 2013-07-09 14:37:34 +02:00
wmayer
4b2474807b 0001160: Freecad sometimes 'forgets' the ability to handle stp files 2013-06-27 14:16:41 +02:00
jriegel
60c4b3ecc4 Treat OCE in LibPack8.x with respect to debug/release 2013-03-31 00:16:17 +01:00
wmayer
a59b00e08e Handle API change in OCC 6.5 2012-10-06 12:20:57 +02:00
wmayer
8a4c0ec2c0 Handle API change in OCC 6.5 2012-10-06 12:17:08 +02:00
wmayer
e41ec791b5 Add missing header file 2012-10-05 00:12:57 +02:00