Thomas Krijnen
1d1fb6d27a
First steps towards a PyQt4 application
2016-04-17 15:27:05 +02:00
Thomas Krijnen
81ee60079e
Enable per-item styles in the pythonOCC viewer
2016-04-11 11:50:43 +02:00
Thomas Krijnen
426b1279e3
Implement __hash__ and __eq__ functions on entity_instance
2016-04-09 20:20:08 +02:00
Stinkfist0
0da0e63687
Begin to implement IfcConvert enhancements discussed in #20 . Remove C++-specific getters and setters and use the same set() and get() functions in in both C++ and Python. Enhance output of IfcConvert, especially in error situations (spamming a hundred lines of options always hides the original error message), utilize Boost's foreach macro to provide cleaner iteration code.
2016-03-07 22:37:36 +02:00
aothms
a6094f50b9
Let CMake find python interpreter for schema compilation and installation dir
...
Remove unused compiled schema in cpp installation target
2016-02-17 12:03:38 +01:00
aothms
4eee9a1936
Merge remote-tracking branch 'official/master'
...
Conflicts:
src/ifcconvert/IfcConvert.cpp
src/ifcgeom/IfcGeomIterator.h
2015-12-21 11:36:23 +01:00
Stinkfist0
a13042f227
Fix warnings: unused variables, shadowing variable names, constant conditional expressions, integer conversions, inability to generate copy-ctor and/or assignment operator, etc.
2015-11-21 23:05:28 +02:00
Stinkfist0
431e993ba3
CMake biz: Instead of providing elusive prints of missing dependencies for required features and continuing the build configuration, fail fast instead; user can easily disable the feature or fix the paths for the dependency.
2015-11-11 13:30:30 +02:00
Stinkfist0
89a015724b
CMake biz: rename OCE_LIBRARIES to OPENCASCADE_LIBRARIES, use this variable also in examples & qtviewer CMakeLists.txt
2015-11-09 17:42:46 +02:00
Stinkfist0
0a8791e04e
Clean up CMake biz by using OCE_LIBRARIES variable for defining OCE libs + fix setting of PYTHON_INCLUDE_DIR + PYTHON_LIBRARY vars + small README.md cleanup.
2015-11-09 15:36:57 +02:00
Stinkfist0
206a9cf5d0
Work around https://github.com/swig/swig/issues/325
2015-11-04 16:25:13 +02:00
Stinkfist0
d4b51a82e7
Fix/suppress plethora of integer conversion warnings on x64 Visual Studio build.
2015-11-03 17:58:08 +02:00
Stinkfist0
26ed16ba52
Make possible to switch between Python 2 & 3 easily. Fixes also possible confusion when having both 32-bit and 64-bit Python installations side by side.
2015-11-03 16:28:30 +02:00
aothms
fdf1b29682
Return shape for arbitrary representation items in ifcopenshell.geom.create_shape()
2015-10-22 12:04:49 +02:00
aothms
a58b2ede63
Fixes for unicode handling in Python
2015-09-13 14:43:42 +02:00
aothms
b590747db9
Add version information and schema identifier to Python wrapper
2015-09-10 15:53:59 +02:00
aothms
4385f3b14d
Revert some of the typemap work in b96cf38e17 and rely on a general mapping from const vector to tuple
2015-09-04 11:46:52 +02:00
Thomas Krijnen
92bc7b13cb
Use custom typemaps for geometry related classes as well
2015-06-26 13:06:28 +00:00
Thomas Krijnen
feaa13a809
gcc compatibility
2015-06-18 08:55:29 +00:00
Thomas Krijnen
6aabbd4a55
Correctly interpret SWIG return code of type check
2015-06-17 19:44:15 +00:00
Thomas Krijnen
48676a733f
Rework SWIG python binding not to rely on polymorhpic functions. Use hand-written typemaps that map vectors to tuples and iterables to vectors. Add support for multidimensional aggregates in Python.
2015-06-17 11:27:02 +00:00
Thomas Krijnen
b96cf38e17
Minimize passing STL objects past dynamic library boundaries to improve stability of IfcOpenShell-Python
2015-06-02 13:29:08 +00:00
Thomas Krijnen
40a60386c8
Brand new implementation of IfcFace(Surface)
2015-05-20 08:55:02 +00:00
Thomas Krijnen
9bf9f82b3b
Format obj and dae output predictably based on rfc notation of GlobalId. As discussed in https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/cbb0c8ca/
2015-05-13 14:30:21 +00:00
Thomas Krijnen
c97cf661a2
1. Also emit Plan and Axis shape representations and IfcTopologyRepresentations if requested. 2. Add serialization for curves. 3. In Python add option to specify representation for which to generate shape.
2015-04-22 09:15:48 +00:00
Thomas Krijnen
955190b517
Add support for reading and writing BINARY attributes. Rename members of the IfcUtil::ArgumentType enumeration.
2015-04-07 15:06:56 +00:00
Thomas Krijnen
9bbbc6e7d9
Extend Python's dir() function on entity instances with attribute and inverse attribute names of entities
2015-02-27 13:41:33 +00:00
Thomas Krijnen
b3e5264aa9
WARNING: more function renames
2015-02-17 20:07:09 +00:00
Thomas Krijnen
e3d5b6220d
Rename AddEntity to addEntity
2015-02-17 19:55:27 +00:00
Thomas Krijnen
ee87466521
1) Implement a breadth-first traversal of forward references 2) implement entity instance deletion from a file 3) recursively copy entity instances to another file
2015-02-17 19:48:41 +00:00
Thomas Krijnen
b5f055e54b
Fix repr() of ifcopenshell.geom.settings
2015-01-29 11:34:11 +00:00
Thomas Krijnen
4c79f713ed
Make sure C++ exceptions do not crash the Python interpreter
2015-01-26 18:11:48 +00:00
Thomas Krijnen
f0425b16d1
Have a peek at a representation's context in the geometry wrapper as well to determine suitability for processing
2015-01-22 10:39:48 +00:00
Thomas Krijnen
6c7c88d7a5
Python wrapper: enable iteration over all entities, get attribute optionality information
2015-01-21 17:01:22 +00:00
Thomas Krijnen
3503c8c933
Fix typo in wrapper generator
2015-01-20 14:39:52 +00:00
Thomas Krijnen
418dabaff2
Fix typo
2015-01-18 15:32:50 +00:00
Thomas Krijnen
7b17c2dccd
Make header values writable
2015-01-16 16:26:40 +00:00
Thomas Krijnen
511e83c2c6
Shuffle around wrapper statements to fix setting arguments
2015-01-10 23:01:52 +00:00
Thomas Krijnen
8581fed39b
Track inverse attributes more correctly
...
Rename Size() to size() on EntityList and friends
2015-01-10 22:13:52 +00:00
Thomas Krijnen
9780c047e9
Improvements for precision handling
2015-01-06 14:09:28 +00:00
Thomas Krijnen
f3c26c372d
Parse the spf header and check schema_identifiers against compiled schema
2015-01-05 17:46:23 +00:00
Thomas Krijnen
4d5d749255
Merge developments from the python_wrapper branch into master
2015-01-05 14:11:42 +00:00
Thomas Krijnen
2a403e240d
*** See: https://sourceforge.net/p/ifcopenshell/discussion/1782718/thread/6bd0f843/ ***
...
Massive refactor of the IfcGeomObjects module, which is now the IfcGeom::Iterator class.
2014-12-19 12:14:36 +00:00
Thomas Krijnen
268109875f
Update build scripts to include TKOffset
2014-03-19 09:47:24 +00:00
Thomas Krijnen
c47a43caf7
IfcGeomObjects: No longer implicitly turn off the availability of triangulated data when USE_BREP_DATA is set. Use DISABLE_TRIANGULATION to explicitly disable the generation of triangulated data to gain performance when only OCC brep data is needed.
2014-01-02 13:33:54 +00:00
Jang Myeongho
06958a02a4
Fix cmake install scripts.
...
- fix renamed file: "IfcShapeList.h" -> "IfcRepresentationShapeItem.h"
- IfcImport target object file.
2013-12-11 03:17:05 +00:00
Thomas Krijnen
259cfa895e
Support for styled items in the Blender addon and make use of material indices
2013-05-11 17:14:47 +00:00
Thomas Krijnen
3f048efc79
Add an adapter for IfcGeom::SurfaceStyle so that IfcGeomObjects (and most notably the Python wrapper) need not to be aware of boost::optional
...
Expose shading and rendering styles to the Python wrapper as well
2013-05-11 15:26:35 +00:00
Thomas Krijnen
dccbccfa06
A limited attempt at some const correctness in the IfcGeomObjects interface
2013-05-11 10:03:20 +00:00
Thomas Krijnen
71b5cd12a8
- Getting ready for Blender 2.65 and Python 3.3.0 with universal Unicode according to PEP 393
...
- Allow opening of non-latin filenames on Windows, by using the non-standard _wfopen(), meaning that the IfcSpfStream no longer relies on a std::istream but a FILE* descriptor
2012-12-31 11:47:46 +00:00