Commit Graph

103 Commits

Author SHA1 Message Date
wandererfan
cfc3c015e5 Export Points to Dxf 2018-05-16 18:58:10 -04:00
wandererfan
f41598ee33 Fix CCW ellipse arcs 2018-05-15 21:50:48 +02:00
wandererfan
76aee3965d Add writeDXFObject to Import
- add a function to write DocumentObject(s) to Dxf file.
- all caller to specifiy parameter source to ImpExpDxf
  functions.
2018-05-01 13:22:02 -04:00
wmayer
51e1f753df suppress warning 4275 2018-04-29 12:55:28 +02:00
wmayer
15b093b39d fix export of base class 2018-04-29 11:01:07 +02:00
wmayer
5e484d0a92 disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions 2018-04-29 11:00:28 +02:00
wandererfan
ebadc3ae9a Add include for TColgp_Array1OfPnt
- Travis/Appveyor use oce-0.15 vs devl
   environment occ7.2.
2018-04-29 10:12:31 +02:00
wandererfan
e83b49d259 Move Dxf function to Mod/Import Ph1
- move HeeksCAD dxf import/export code from Draft to
  Mod/Import. This first phase moves dxf.cpp and
  DraftDxf.cpp to Mod/Import and adds dxfWrite functionality
  to DraftDxf.cpp.
2018-04-29 10:12:31 +02:00
luz.paz
9167064fc1 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
luz.paz
57ca6b366b Misc. source and comment typos 2018-02-26 22:02:52 -05:00
luz.paz
1d5799e5b3 Misc. typos
Inspired by @normandc per https://gitter.im/FreeCAD/FreeCAD?at=5a729c6ece68c3bc742df205
2018-02-07 09:40:03 +01:00
luz.paz
504f6583dd Typos
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
luz.paz
831bf31817 Misc. typos
+ stepcode typo submitted upsream https://github.com/stepcode/stepcode/pull/372
2018-01-07 18:41:29 -02:00
luzpaz
985980648c Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
Unknown
fa4a6b43ee Capitalize beginning of tooltips + Typos
Capitalized all remaining uncapitalized tooltips. 
+ Fixed typo in instantiate() function. Shouldn't have any repercussions on the code, AFAICT. 
+ other typos
2017-10-13 00:26:53 +02:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
luzpaz
f3bf8fe919 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
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +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
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
28fc8ff34f Enable the ReadShapeCompoundMode into the C++ code 2017-07-26 16:16:06 -03:00
wmayer
905b1adee8 remove unused variables 2017-07-13 22:02:11 +02:00
wmayer
ded46ffa65 fix whitespaces 2017-07-13 21:46:24 +02:00
Jean-Marie Verdun
c8919651ba Final fix for hierarchical STEP exporter 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
6421c93711 Fix keepExplicitPlacement 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
ef4efc52e5 Improve hierarchical 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
4939a86fd6 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
d073a453bf Add Vertices and Edges support to STEP Compound Importer 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
e02306892f Introduce relative placement for STEP importer instead of absolute placement 2017-07-11 11:24:49 -03:00
Jean-Marie Verdun
7efb99ad18 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
800526836a use specialized Python exception classes 2017-04-28 19:33:51 +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
Kunda
4671a4e12d 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
0192f2bf20 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
wmayer
768eec906b py3: ported Import to python3 2017-02-12 21:01:22 +01:00
wmayer
cd92e65729 prework for issue #0002698 2017-02-04 11:34:55 +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
01bc2fc6ce 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
f40c9ece02 code cleanup 2017-01-27 15:48:27 +01:00
Jean-Marie Verdun
89e53d0e6a 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
8d8dec9f3d python3: dict.has_key("key") --> "key" in dict 2017-01-20 00:06:58 -02:00