Thomas Krijnen
0ca885764c
win: apply patch for HLR
2018-04-15 09:27:16 +02:00
Thomas Krijnen
1b25f1a2cc
#354 loose faces in SewedShape
2018-04-11 12:26:01 +02:00
Thomas Krijnen
a82d86b2df
Update README.md
2018-03-16 16:36:36 +01:00
Thomas Krijnen
38b87a24cc
#348
2018-03-16 11:03:02 +01:00
Thomas Krijnen
cdc018c9ea
#329 Only auto close IfcCompositeCurve when used for profile
2018-03-09 10:41:22 +01:00
Thomas Krijnen
20c0c11aee
Win build script occt7.2
2018-03-04 10:45:44 +01:00
Thomas Krijnen
c1d441c37c
Fix prompt
2018-03-04 10:45:05 +01:00
Thomas Krijnen
c1b06e25cc
Update boost download path
2018-02-27 18:09:43 +01:00
Thomas Krijnen
b9b9b9c698
Fix geometry reuse in case of IfcTypeProducts with maps
2018-02-21 14:54:38 +01:00
Anders Granskogen Bjørnstad
4dd2623728
IfcConvert: Add --building-local-placement argument
...
Similar to --site-local-placement. Motivated by dealing with at least
two examples where IFC files for the same construction site have
inconsistent ObjectPlacement hierarchy:
- MEP models exported from MagiCAD for Revit:
ObjectPlacement.PlacementRelTo of IfcBuilding is empty
- Regular construction models exported from Revit:
ObjectPlacement.PlacementRelTo of IfcBuilding is pointing to
IfcSite's placement
2018-02-19 16:17:12 +01:00
Thomas Krijnen
ecbb6922e7
Update blender addon for str geometry.id
2018-01-15 11:00:25 +01:00
stefkeB
98b12c4325
BaseQuantities support in IfcConvert XmlSerializer
...
Added the export of BaseQuantities in the XML export of IfcConvert.
Very similar to the export of properties.
2017-12-22 11:33:28 +01:00
Thomas Krijnen
029bdddd7d
Update SvgSerializer.cpp
2017-12-19 14:58:56 +01:00
Xsoiou
ed3842943a
SVG storey elevation ( #315 )
...
IfcConvert SVG does not generate <path d=""> for IfcSpace. #313
2017-12-19 12:10:19 +01:00
civilx64
1941dc2970
Corrected name of *nix build script.
2017-12-18 15:17:21 +01:00
civilx64
08007fe594
Corrected name of *nix build script.
2017-12-18 15:17:21 +01:00
Xsoiou
d16761ab09
This closes #309 and it also fixes #310
2017-12-16 09:25:08 +01:00
Xsoiou
2f9d4d8c07
Changed from http to https on ICU download
2017-12-16 09:25:08 +01:00
Thomas Krijnen
2464cb3f68
optional building storey argument added to setSectionHeight()
2017-12-11 11:19:15 +01:00
Thomas Krijnen
e30679a513
2d edges in svg serializer
2017-12-11 11:18:37 +01:00
tymokvo
529a0c41b5
fixed missing bracket
2017-12-06 12:20:22 +01:00
tymokvo
6a9fda6972
added some documentation/examples
2017-12-06 12:20:22 +01:00
Anders Granskogen Bjørnstad
4fd2190e1d
SvgSerializer: Fix bug in ellipse writeout
...
Add a missing "=" to create a valid SVG for ellipses.
I accidentally stumbled upon a way to actually get an ellipse in SVG by
tilting a cylinder. If I tilt the cylinder via the `ObjectPlacement` of
the `IfcProduct` I get an ellipse. If I set the `ExtrudedDirection` of
the `IfcExtrudedAreasolid`, however, I get a sampled path.
2017-12-04 17:23:32 +01:00
Thomas Krijnen
5b9a315823
Triangulate non-planar wires when invoked with --sew-shells
2017-11-27 16:27:36 +01:00
Thomas Krijnen
13551ed11b
Eliminate warning
2017-11-27 16:24:29 +01:00
Thomas Krijnen
c4c3ce68f5
Grep for command line arg name in ld stderr output
2017-11-25 19:15:25 +01:00
Thomas Krijnen
cfd2b368f1
Approx other curve types in SVG, hollow circles
2017-11-25 13:08:34 +01:00
Anders Granskogen Bjørnstad
ce970792ba
SvgSerializer: Support full circles and ellipses
...
Use <circle> and <ellipse> to create a valid SVG for these geometries.
Limit to only the *first* edge. I am not sure whether there are
scenarios with multiple edges like this:
1. One or more straight line pieces or arc segments
2. A full closed circle
3. More straight lines or arc segments
If there is, we are keeping the original behavior here.
2017-11-25 13:06:03 +01:00
Anders Granskogen Bjørnstad
aec9d32ce7
test: Add {cylinders,ellipses}.ifc samples
...
A bare-bones IFC with four cylinders/ellipses. Used for SVG conversion
testing.
2017-11-25 13:06:03 +01:00
Anders Granskogen Bjørnstad
376c2de85c
SvgSerializer: Fix bounding box for arc segments
...
Not necessarily minimal, but better to be conservative w.r.t. getting
all geometry inside bounds.
2017-11-25 13:06:03 +01:00
Anders Granskogen Bjørnstad
d53d4a96c9
SvgSerializer: Add closed circle warning
...
Only refactoring, adding a warning.
2017-11-25 13:06:03 +01:00
Thomas Krijnen
91f8ba2c3e
Don't rely on man for ld feature detection
2017-11-18 16:51:59 +01:00
Thomas Krijnen
41ef6958a7
Don't pass empty arguments to boost build
2017-11-18 16:50:38 +01:00
Thomas Krijnen
1e851ca5ad
Fix typo
2017-11-13 13:01:59 +01:00
Thomas Krijnen
21c5400406
Fixes for boolean ops on recent OCCT versions
2017-11-13 12:41:37 +01:00
Anders Granskogen Bjørnstad
468555f24c
IfcConvert: Add section-height argument for SVG
...
Enabling user specified overriding the default (zmin + 1 meter) value.
2017-11-11 10:02:41 +01:00
Anders Granskogen Bjørnstad
092f073647
SvgSerializer: Use storey elevation if available
...
For the scenario where we a building storey and it has an elevation:
Instead taking the cross section of every product 1 meter above it's
lowest, take the cross section at storey elevation + 1 meter.
2017-11-11 10:02:41 +01:00
Anders Granskogen Bjørnstad
2dbc3b43c6
SvgSerializer: Name storeys properly too
...
- Fix correct "storey-" prefix for stories
- Follow user settings on names/guids/notset
2017-11-11 10:02:41 +01:00
Anders Granskogen Bjørnstad
3071caf4b1
SvgSerializer: Fix error message logic
...
If we have no storeys *and* we didn't find any suitable fall-back, then
the error message makes sense.
2017-11-11 10:02:41 +01:00
civilx64
7829041a7c
Create docstrings for generated python code.
2017-11-08 13:29:09 +01:00
Thomas Krijnen
9765faa35c
Fill holes in composite curves, fixes #282
2017-11-08 13:27:45 +01:00
thorade
8d33abc5c7
autopep8 aggressive
...
autopep8 --in-place --recursive --max-line-length=200 --aggressive --aggressive --aggressive ifcopenshell
2017-11-07 15:28:45 +01:00
thorade
80360c278d
autopep8
...
autopep8 --in-place --recursive --max-line-length=200 ifcopenshell
2017-11-07 15:28:45 +01:00
Stinkfist0
c357ab2c69
build-deps.cmd: fix boost build configuration for VS 2015. Fixes #279 . [ci skip]
2017-11-05 16:18:00 +01:00
thorade
407388503e
identical from __future__ import in ALL py files
2017-11-05 16:17:27 +01:00
Anders Granskogen Bjørnstad
8b0f2b650a
geom/app.py: ConfigParser py2/py3 fix
...
When running the viewer app in python3, I got the following crash:
Traceback (most recent call last):
File "geom_app.py", line 2, in <module>
ifcopenshell.geom.app.application().start()
File "/usr/lib/python3/dist-packages/ifcopenshell/geom/app.py", line 534, in __init__
self.editor = code_edit(self.canvas, configuration().options('snippets'))
File "/usr/lib/python3/dist-packages/ifcopenshell/geom/app.py", line 68, in __init__
config = Cfg()
TypeError: 'ConfigParser' object is not callable
Unify configparser usage for py2 and py3 by making sure the py3 path
also gives a callable Cfg
2017-11-05 16:16:49 +01:00
thorade
0f150b1522
ignore *.py.bak files
2017-11-03 11:05:02 +01:00
thorade
2978cc1912
also ignoe files generated by PyCharm
2017-11-03 11:05:02 +01:00
Matthis Thorade
e8b15cc0ef
py 2 and 3
...
http://python3porting.com/noconv.html#handling-exceptions
this is the first error i get when i try to start th eviewer from python 3
using the two-line from https://github.com/IfcOpenShell/IfcOpenShell/commit/1d1fb6d27a5bb1f221aed4dc290c1dc99a324e0f#commitcomment-17161165
2017-10-30 10:31:35 +01:00
Thomas Krijnen
6148f08d14
update SWIG to latest release
...
#277
2017-10-30 10:26:27 +01:00