Giter VIP home page Giter VIP logo

compas_rbe's People

Contributors

genekao avatar licini avatar tomvanmele avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

compas_rbe's Issues

**Sample data**

  • Stacks
  • Arch
  • Arch with friction
  • Variations
  • Corresponding examples

Install on Rhino fails

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:

  1. Install according to documentation
  2. Install on Rhino using: python -m compas_rhino.install -p compas compas_rbe
  3. Install fails with the following error:
(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):

  • OS: Windows 10
  • Python version 3.6
  • Python package manager Anaconda

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 to effectively reload all submodules while working on rhino mac?

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**

  • check different solver and compare results

  • check cvxopt and windows (cvxpy doesn't work in windows) (Ursula's code works in Window?)

**Interface forces**

  • visualise friction vectors
  • visualise friction interface color
  • resultant normal force
  • resultant friction force

**Interfaces**

  • planarise
  • planarise and change the geometry
  • combined interfaces?
  • offset interface inward for safety factors

Installation Instruction for Rhino V6

Feature Request

As a newbie, I want the Installation Instruction to be more detailed so that installation is less painless.

Details

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.

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.