Giter Club home page Giter Club logo

ifcopenshell-jupyterhub's Introduction

IfcOpenShell

IfcOpenShell is an open source (LGPL) software library for working with Industry Foundation Classes (IFC). Complete parsing support is provided for IFC2x3 TC1, IFC4 Add2 TC1, IFC4x1, IFC4x2, and IFC4x3 Add2. Extensive geometric support is implemented for the IFC releases IFC2x3 TC1 and IFC4 Add2 TC1. Extending with support for arbitrary IFC schemas is possible at compile-time when using C++ and at run-time when using Python.

In addition to a C++ and Python API, IfcOpenShell comes with an ecosystem of tools, notably including IfcConvert (an application to convert IFC models to other formats), the BlenderBIM Add-on (an add-on to Blender providing a graphical IFC authoring platform), and many other libraries, CLI apps, and more. Support is also provided for auxiliary standards such as BCF and IDS.

For more information, see:

Development is sponsored through your generous donations!

Open Collective Contributors

Contents

Name Description License Service
bcf Library to read and write BCF-XML and query OpenCDE BCF-API modules LGPL-3.0-or-later PyPI
blenderbim Add-on to Blender providing a graphical native IFC authoring platform GPL-3.0-or-later Official GitHub Unstable Chocolatey
bsdd Library to query the bSDD API LGPL-3.0-or-later PyPI
ifc2ca Utility to convert IFC structural analysis models to Code_Aster LGPL-3.0-or-later
ifc4d Convert to and from IFC and project management software LGPL-3.0-or-later PyPI
ifc5d Report and optimise cost information from IFC LGPL-3.0-or-later PyPI
ifcbimtester Wrapper for Gherkin based unit testing for IFC models LGPL-3.0-or-later
ifcblender Historic Blender IFC import add-on LGPL-3.0-or-later*
ifccityjson Convert CityJSON to IFC LGPL-3.0-or-later PyPI
ifcclash Clash detection library and CLI app LGPL-3.0-or-later PyPI
ifcconvert CLI app to convert IFC to many other formats LGPL-3.0-or-later* Official GitHub
ifccsv Library and CLI app to export and import schedules from IFC LGPL-3.0-or-later PyPI
ifcdiff Compare changes between IFC models LGPL-3.0-or-later PyPI
ifcfm Extract IFC data for FM handover requirements LGPL-3.0-or-later PyPI
ifcmax Historic extension for IFC support in 3DS Max LGPL-3.0-or-later* Official
ifcopenshell-python Python library for IFC manipulation LGPL-3.0-or-later* Official GitHub PyPI Anaconda Anaconda Docker AUR AUR Unstable
ifcpatch Utility to run pre-packaged scripts to manipulate IFCs LGPL-3.0-or-later PyPI
ifcsverchok Blender Add-on for visual node programming with IFC GPL-3.0-or-later GitHub Unstable
ifctester Library, CLI and webapp for IDS model auditing LGPL-3.0-or-later PyPI

The IfcOpenShell C++ codebase is split into multiple interal libraries:

Name Description License
ifcgeom Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcgeom_schema_agnostic Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcgeomserver Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcjni Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcparse Internal library for IfcOpenShell LGPL-3.0-or-later*
ifcwrap Internal library for IfcOpenShell LGPL-3.0-or-later*
qtviewer Internal library for IfcOpenShell LGPL-3.0-or-later*
serializers Internal library for IfcOpenShell LGPL-3.0-or-later*

ifcopenshell-jupyterhub's People

Contributors

aothms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ifcopenshell-jupyterhub's Issues

oauth_callback 400 Bad Request

Hi, thanks for this nice work.
I setup the server and notebook, and access the login page. However, after authentication with Github credentials I receive 400 : Bad Request OAuth callback made without a code
The Authorization callback URL in Github in settings is like https://mydomain.com/hub/oauth_callback
Should I change the c.GitHubOAuthenticator.oauth_callback_url in jupyterhub_config.py?
Due to the Docker-based installation, I assume not to touch config file.
Otherwise, what should be the Authorization callback URL ? Thanks.

s.set(s.USE_PYTHON_OPENCASCADE, True)

I'm a new user of ifcopenshell, I'm trying to visualise the geometry of an ifc, so I tried your code (visualize.py) and I have this error message that I can't understand.
`AttributeError Traceback (most recent call last)
in ()
4
5 s = ifcopenshell.geom.settings()
----> 6 s.set(s.USE_PYTHON_OPENCASCADE, True)
7 geometry = dict((f[item.data.id], (item.geometry, item.styles)) for item in ifcopenshell.geom.iterator(s, f))
8

/home/jaraib/pythonpackages/ifcopenshell/ifcopenshell_wrapper.pyc in (self, name)
95 setattr = lambda self, name, value: _swig_setattr(self, settings, name, value)
96 swig_getmethods = {}
---> 97 getattr = lambda self, name: _swig_getattr(self, settings, name)
98 repr = _swig_repr
99 WELD_VERTICES = _ifcopenshell_wrapper.settings_WELD_VERTICES

/home/jaraib/pythonpackages/ifcopenshell/ifcopenshell_wrapper.pyc in _swig_getattr(self, class_type, name)
72
73 def _swig_getattr(self, class_type, name):
---> 74 return _swig_getattr_nondynamic(self, class_type, name, 0)
75
76

/home/jaraib/pythonpackages/ifcopenshell/ifcopenshell_wrapper.pyc in _swig_getattr_nondynamic(self, class_type, name, static)
67 return method(self)
68 if (not static):
---> 69 return object.getattr(self, name)
70 else:
71 raise AttributeError(name)

AttributeError: type object 'object' has no attribute 'getattr'`

Thank you for your help

fails to build `sudo docker build -t jupyterhub-image-ifcopenshell ..`

Is anyone getting this error also:

[  6%] Building CXX object CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/Ifc2x3.cpp.o
virtual memory exhausted: Cannot allocate memory
make[2]: *** [CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/Ifc2x3.cpp.o] Error 1
CMakeFiles/IfcParse.dir/build.make:110: recipe for target 'CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/Ifc2x3.cpp.o' failed
CMakeFiles/IfcParse.dir/build.make:86: recipe for target 'CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcGlobalId.cpp.o' failed
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcGlobalId.cpp.o] Error 4
virtual memory exhausted: Cannot allocate memory
CMakeFiles/IfcParse.dir/build.make:62: recipe for target 'CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcSpfHeader.cpp.o' failed
make[2]: *** [CMakeFiles/IfcParse.dir/opt/build/IfcOpenShell/src/ifcparse/IfcSpfHeader.cpp.o] Error 1
CMakeFiles/Makefile2:223: recipe for target 'CMakeFiles/IfcParse.dir/all' failed
make[1]: *** [CMakeFiles/IfcParse.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c make -j4 install' returned a non-zero code: 2

(Ubuntu 16.04 and also 18.04)

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-16ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.