blockresearchgroup / compas_rbe Goto Github PK
View Code? Open in Web Editor NEWRigid Block Equilibrium Analysis for the COMPAS framework
Home Page: https://blockresearchgroup.github.io/compas_rbe/
License: Other
Rigid Block Equilibrium Analysis for the COMPAS framework
Home Page: https://blockresearchgroup.github.io/compas_rbe/
License: Other
I tried another example like Jenga, and I found some interfaces are not detected. Any idea?
The Rhino model is in the commit 2be9fe9
Describe the bug
After following the install instructions on the documentation, the installation of compas_rbe
on Rhino fails with the following error AttributeError: module 'compas_rbe' has no attribute '__file__'
.
To Reproduce
Steps to reproduce the behavior:
python -m compas_rhino.install -p compas compas_rbe
(workshop) C:\WINDOWS\system32>python -m compas_rhino.install -p compas compas_rbe
Installing COMPAS packages to Rhino 5.0 IronPython lib:
Traceback (most recent call last):
File "C:\Users\mingc\Anaconda3\envs\workshop\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\mingc\Anaconda3\envs\workshop\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\mingc\Anaconda3\envs\workshop\lib\site-packages\compas_rhino\install.py", line 123, in <module>
install(version=args.version, packages=args.packages)
File "C:\Users\mingc\Anaconda3\envs\workshop\lib\site-packages\compas_rhino\install.py", line 61, in install
base_path = _get_package_path(importlib.import_module(package))
File "C:\Users\mingc\Anaconda3\envs\workshop\lib\site-packages\compas_rhino\install.py", line 21, in _get_package_path
return os.path.abspath(os.path.join(os.path.dirname(package.__file__), '..'))
AttributeError: module 'compas_rbe' has no attribute '__file__'
Desktop (please complete the following information):
Additional context
The problem seems to be caused by a PLACEHOLDER
file in the source of compas_rbe
, after deleting the file locally, the install works correctly.
How do I effectively reload all submodules while working on rhino mac?
For example, the change I did with compas_rbe.rhino.artists
does not effect unless I restart rhino or manually reload the submodules as below.
import imp
# the deeper module has to be reloaded first.
imp.reload(compas_rbe.rhino.artists)
imp.reload(compas_rbe.rhino)
from compas_rbe.rhino import AssemblyArtist
check different solver and compare results
check cvxopt and windows (cvxpy doesn't work in windows) (Ursula's code works in Window?)
As a newbie, I want the Installation Instruction to be more detailed so that installation is less painless.
Include the information for installing C++ 14.0. The following link works to install the build tool without installing Visual Studio. (According to this StackOverflow answer)
http://go.microsoft.com/fwlink/?LinkId=691126&fixForIE=.exe.
Include the line for installing for Rhino for Rhino v6. Add note for people who have already installed compas.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.