Commit Graph

124 Commits

Author SHA1 Message Date
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
wmayer
770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +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
wmayer
5a0b0944c0 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
034520e02f improve whitespaces 2017-08-01 08:30:22 +02:00
Jean-Marie Verdun
d75c33f123 Fix Placement and Color export within Hierarchical Step exporter of single shapes 2017-07-31 22:33:09 +02:00
Jean-Marie Verdun
1220eb00b4 Export single STEP object with absolute coordinate instead of (0,0,0) as default origin 2017-07-31 16:45:24 -03:00
wmayer
6b5126648d improve whitespaces 2017-07-26 23:08:44 +02:00
Jean-Marie Verdun
7b066fe334 Fix missing file during installation (Import_rc.py) 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
3a0c4dbfea 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
2cd24b0196 Add AP214/203 support to the hierarchical STEP Importer/Exporter 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
7f80f794e0 Fix Import_rc.py path 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
5ef87acb70 Enable the ReadShapeCompoundMode into the C++ code 2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
b81f88d7a2 Add parameter initialization within Import Init.py and enhance the understand
of the parameters behavior into the UI
2017-07-26 16:16:06 -03:00
Jean-Marie Verdun
9979fc4466 Add initial support for Import hierarchical STEP in preferences menu 2017-07-26 16:16:06 -03:00
wmayer
aa07c77745 remove unused variables 2017-07-13 22:02:11 +02: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
1b36dc2437 Fix keepExplicitPlacement 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
5362650c3b Improve hierarchical 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
4095fdbb57 Fix bug 3076 about color issue when opening a hierarchical step file
with Compound.
2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
c839a88110 Add Vertices and Edges support to STEP Compound Importer 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
2645b79db8 Introduce relative placement for STEP importer instead of absolute placement 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
Jean-Marie Verdun
6642022bea Step Reader Improvements
Call new functions which allows to allocate in a single call Object into the document instead of multiple calls
Put into a Compound, STEP Compound instead of a Sub Tree which was creating far
too much object (aka replicate what CAD Assistant and EDrawings are doing when
opening a complex STEP tree)
2017-05-07 21:37:48 +02:00
wmayer
18f723cb03 use specialized Python exception classes 2017-04-28 19:33:51 +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
Kunda
17d2f2b458 ascii weirdness
Upstreamed fixes to stepcode in https://github.com/stepcode/stepcode/pull/356 were accepted. Please merge as ongoing typo fix effort in issue #2914
2017-03-07 13:48:16 -03:00
Kunda
0485edd560 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
wmayer
944d62efc9 py3: ported Import to python3 2017-02-12 21:01:22 +01:00
wmayer
850bba7926 prework for issue #0002698 2017-02-04 11:34:55 +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
bcea759287 fix crash with null pointer links
in PropertyLinkList handle case with null pointers as value
in STEP reader avoid to create coumpound objects with null pointer links
2017-01-30 16:47:31 +01:00
wmayer
f47fc489a6 code cleanup 2017-01-27 15:48:27 +01:00
Jean-Marie Verdun
f10a436787 STEP reader improvements
Create Global STEP Tree when assemblies are present
Make TBB usage dependant of its activation status at CMake Level
Fix hierarchy opening into STEP Assembly
2017-01-27 15:23:49 +01:00
looooo
e9b5722220 python3: dict.has_key("key") --> "key" in dict 2017-01-20 00:06:58 -02:00
wmayer
f5367d7afc fix warning and improve code formatting 2017-01-09 10:16:11 +01:00
Jean-Marie Verdun
7ccd9a95d6 Create Compound per STEP file definition within FreeCAD interface
STEP hierarchy is in that case respected
2017-01-08 21:50:25 +01:00
wmayer
0afd327f2a remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
Yorik van Havre
21dcfd442c Doc: Further fixes to doxygen docs 2016-11-24 17:59:21 -02:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02: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
5de9696365 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00