You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In class compas_assembly.rhino.AssemblyArtist
The method AssemblyArtist.draw_interfaces is not working.
It throws an error 'module' object has no attribute 'draw_faces'.
On line 189, in draw_interfaces, "C:\Users\leungp\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas_assembly\rhino\artists.py"
I think the line compas_rhino.draw_faces(faces, layer=layer, clear=False, redraw=False)
is not working.
To Reproduce
Steps to reproduce the behavior:
Code written in Rhino Python Script editor
Sample script:
from compas_assembly.rhino import AssemblyArtist
from compas_assembly.datastructures import Assembly
#Load Assembly Interfaces
assembly = Assembly.from_json('assembly_with_interfaces.json')
from compas_assembly.rhino import AssemblyArtist
artist = AssemblyArtist(assembly,layer='Assembly')
artist.clear_blocks()
artist.draw_blocks(show_faces=False, show_edges=True)
artist.draw_interfaces()
Message: 'module' object has no attribute 'draw_faces'
Traceback:
line 189, in draw_interfaces, "C:\Users\leungp\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas_assembly\rhino\artists.py"
line 17, in , "G:\01_Projekte\270_PhD_SpatialTimberStructures\03_Design\20190716 YiJiang Integration\03VisualizeInterface.py"
Expected behavior
Expect it to work. See mesh faces drawn on screen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Windows 10 64 bit
Python 3.6.5 |Anaconda custom (64-bit)|
Conda virtual environment
Additional context
The sample data is created by xFunc call: assembly_interfaces_xfunc = XFunc('compas_assembly.datastructures.assembly_interfaces_xfunc', python='C:\ProgramData\Anaconda3\python.exe')
The text was updated successfully, but these errors were encountered:
On Wed, 17 Jul 2019 at 13:47, Tom Van Mele ***@***.***> wrote:
version of COMPAS and of compas_assembly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AAJ4Z5JIYAPEKQSNVIW2B43P74BDHA5CNFSM4IEPK24KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2D5UVY#issuecomment-512219735>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJ4Z5KKYZ55MU2KWDZ4SBDP74BDHANCNFSM4IEPK24A>
.
Describe the bug
In class
compas_assembly.rhino.AssemblyArtist
The method
AssemblyArtist.draw_interfaces
is not working.It throws an error 'module' object has no attribute 'draw_faces'.
On line 189, in draw_interfaces, "C:\Users\leungp\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas_assembly\rhino\artists.py"
I think the line
compas_rhino.draw_faces(faces, layer=layer, clear=False, redraw=False)
is not working.
To Reproduce
Steps to reproduce the behavior:
Sample data
https://we.tl/t-ocHpWKS0nP
(Can send you the data file if necessary)
See error
Message: 'module' object has no attribute 'draw_faces'
Traceback:
line 189, in draw_interfaces, "C:\Users\leungp\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\compas_assembly\rhino\artists.py"
line 17, in , "G:\01_Projekte\270_PhD_SpatialTimberStructures\03_Design\20190716 YiJiang Integration\03VisualizeInterface.py"
Expected behavior
Expect it to work. See mesh faces drawn on screen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
The sample data is created by xFunc call:
assembly_interfaces_xfunc = XFunc('compas_assembly.datastructures.assembly_interfaces_xfunc', python='C:\ProgramData\Anaconda3\python.exe')
The text was updated successfully, but these errors were encountered: