Commit Graph

72 Commits

Author SHA1 Message Date
wmayer
d15e5fc7ca issue #0003174: Import of simple shapes no longer works 2017-12-06 17:54:10 +01: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
wmayer
473ea474ce Port to occ7.2:
+ replace Quantity_Parameter with Standard_Real is it's marked deprecated
+ include NCollection_Vector as it's needed by STEPCAFControl_Writer
+ remove GC_MakeConicalSurface used for cone and distance as this was never implemented in any earlier occ version and has been removed now
2017-09-01 12:01:50 +02:00
wmayer
8856041a72 improve whitespaces 2017-08-01 08:30:22 +02:00
Jean-Marie Verdun
4f69fd5a31 Fix Placement and Color export within Hierarchical Step exporter of single shapes 2017-07-31 22:33:09 +02:00
Jean-Marie Verdun
a89dbdc801 Export single STEP object with absolute coordinate instead of (0,0,0) as default origin 2017-07-31 16:45:24 -03:00
wmayer
4469964dc4 improve whitespaces 2017-07-26 23:08:44 +02:00
Jean-Marie Verdun
48c362b669 Fix a stupid bug due to a bad copy/paste into the hierarchical STEP function
which was resetting the XCAF doc just before writing it, ending up to write empty files
2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
7832a16af1 Add AP214/203 support to the hierarchical STEP Importer/Exporter 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
28fc8ff34f Enable the ReadShapeCompoundMode into the C++ code 2017-07-26 16:16:06 -03:00
wmayer
ded46ffa65 fix whitespaces 2017-07-13 21:46:24 +02:00
Jean-Marie Verdun
0cc018ca42 Fix compiler Warnings 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
c8919651ba Final fix for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
a83d71c7c8 Add initial code for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
bb12ce3474 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
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
wmayer
d27bb9955e fix memory leak on IGES import 2017-04-03 19:09:47 +02:00
wmayer
5405dd76ee fixes #1999: Tessellation data or OpenInventor data memory leak 2017-04-03 18:21:49 +02:00
wmayer
305e7fa62c issue #0002698: Exported STEP-File contains surplus PRODUCTS 2017-03-26 18:29:27 +02:00
Jean-Marie Verdun
5f1879ee21 Move Step reader to New Part Design workflow 2017-03-23 21:43:46 +01:00
wmayer
768eec906b py3: ported Import to python3 2017-02-12 21:01:22 +01:00
Jean-Marie Verdun
250b98a07c 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
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer
b062b41db6 fix -Wextra in Import 2016-09-22 16:40:20 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
14c6859968 + simplify porting of Import module to Python3 2016-01-21 12:08:29 +01:00
Mateusz Skowroński
c275b35d48 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
93a3dc0cdd + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
72aaaa669a + harmonize Coin3D cmake variables with official check 2015-07-28 14:55:15 +02:00
wmayer
c2c83a353b + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3 + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
f85fa0325a + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +02:00
wmayer
416891c728 + set shape color when reading STEP with colors 2015-04-12 12:43:21 +02:00
wmayer
801bfa8936 + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
wmayer
b76601b068 + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
Sebastian Hoogen
46a00d1380 remove support for automake 2014-11-26 10:26:30 +01:00
wmayer
a23432dafc + customize STEP header 2014-10-30 11:48:33 +01:00
wmayer
61c92961e3 + customize IGES header 2014-10-29 16:39:33 +01:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
4e72e4a937 + fix Qt help problems 2014-10-01 17:16:43 +02:00
Stefan Tröger
512a2b94d2 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
af50cbf964 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
6ac93e9d72 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
wmayer
4b2b243e47 + compile with clang 2014-05-05 16:24:01 +02:00
mdinger
1498e99cef Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
a22f68c3db + Remove redefinition of /EHa which causes warnings with QtCreator 2014-04-30 19:21:49 +02:00
wmayer
67edfb895b + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
e2bd648e9a Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
3e3ce381f6 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00