Returns
-------
:class:`PanelSystem`
The result as a container class containing the surface and other relevant settings.
A PanelSystem object.
>>>from compas.geometry import Point
>>>acoustic_panel_system.panel_creator.create_panel({'low_res_y': 0.050000000000000003, 'low_res_x': 0.84999999999999998, 'surface_degree_v': 5, 'high_res_distortion': 0.074999999999999997, 'low_res_distortion': 0.29999999999999999, 'high_res_y': 0.037499999999999999, 'high_res_x': 0.21249999999999999, 'panel_height': 0.29999999999999999}, 24, 0.1, [Point(0.013, 2.033, 0.000), Point(10.523, 2.033, 0.000), Point(10.523, 4.278, 0.000), Point(0.013, 4.278, 0.000)], 0.1, [Point(0.013, 3.377, 0.000), Point(0.013, 2.432, 0.000), Point(1.083, 2.432, 0.000), Point(1.095, 2.432, 0.000), Point(2.255, 2.432, 0.000), Point(2.267, 2.432, 0.000), Point(2.267, 2.033, 0.000), Point(3.117, 2.033, 0.000), Point(3.117, 2.283, 0.000), Point(3.129, 2.283, 0.000), Point(3.979, 2.283, 0.000), Point(3.979, 2.533, 0.000), Point(3.991, 2.533, 0.000), Point(4.841, 2.533, 0.000), Point(4.853, 2.533, 0.000), Point(4.853, 2.283, 0.000), Point(5.703, 2.283, 0.000), Point(5.715, 2.283, 0.000), Point(5.715, 2.033, 0.000), Point(6.565, 2.033, 0.000), Point(6.565, 2.283, 0.000), Point(6.577, 2.283, 0.000), Point(7.427, 2.283, 0.000), Point(7.427, 2.533, 0.000), Point(7.439, 2.533, 0.000), Point(8.289, 2.533, 0.000), Point(8.301, 2.533, 0.000), Point(8.301, 2.432, 0.000), Point(9.461, 2.432, 0.000), Point(9.473, 2.432, 0.000), Point(10.523, 2.432, 0.000), Point(10.523, 3.377, 0.000), Point(9.473, 3.377, 0.000), Point(9.461, 3.377, 0.000), Point(9.461, 3.778, 0.000), Point(8.301, 3.778, 0.000), Point(8.301, 3.278, 0.000), Point(8.289, 3.278, 0.000), Point(7.439, 3.278, 0.000), Point(7.427, 3.278, 0.000), Point(7.427, 4.028, 0.000), Point(6.577, 4.028, 0.000), Point(6.577, 3.528, 0.000), Point(6.565, 3.528, 0.000), Point(5.715, 3.528, 0.000), Point(5.703, 3.528, 0.000), Point(5.703, 4.278, 0.000), Point(4.853, 4.278, 0.000), Point(4.853, 3.778, 0.000), Point(4.841, 3.778, 0.000), Point(3.991, 3.778, 0.000), Point(3.991, 3.278, 0.000), Point(3.979, 3.278, 0.000), Point(3.129, 3.278, 0.000), Point(3.117, 3.278, 0.000), Point(3.117, 4.028, 0.000), Point(2.267, 4.028, 0.000), Point(2.267, 3.778, 0.000), Point(2.255, 3.778, 0.000), Point(1.095, 3.778, 0.000), Point(1.095, 3.377, 0.000), Point(1.083, 3.377, 0.000)], [Point(-0.000, 0.000, 0.000), Point(0.201, 0.000, 0.000), Point(0.463, 0.220, 0.000), Point(10.110, 0.220, 0.000), Point(10.372, 0.000, 0.000), Point(10.525, 0.000, 0.000)])
<acoustic_panel_system.panel_system.PanelSystem object at 0x00000248BA5F2808>
So that seems alright.
proxy.create_panel({'low_res_y': 0.050000000000000003, 'low_res_x': 0.84999999999999998, 'surface_degree_v': 5, 'high_res_distortion': 0.074999999999999997, 'low_res_distortion': 0.29999999999999999, 'high_res_y': 0.037499999999999999, 'high_res_x': 0.21249999999999999, 'panel_height': 0.29999999999999999}, 24, 0.1, [Point(0.013, 2.033, 0.000), Point(10.523, 2.033, 0.000), Point(10.523, 4.278, 0.000), Point(0.013, 4.278, 0.000)], 0.1, [Point(0.013, 3.377, 0.000), Point(0.013, 2.432, 0.000), Point(1.083, 2.432, 0.000), Point(1.095, 2.432, 0.000), Point(2.255, 2.432, 0.000), Point(2.267, 2.432, 0.000), Point(2.267, 2.033, 0.000), Point(3.117, 2.033, 0.000), Point(3.117, 2.283, 0.000), Point(3.129, 2.283, 0.000), Point(3.979, 2.283, 0.000), Point(3.979, 2.533, 0.000), Point(3.991, 2.533, 0.000), Point(4.841, 2.533, 0.000), Point(4.853, 2.533, 0.000), Point(4.853, 2.283, 0.000), Point(5.703, 2.283, 0.000), Point(5.715, 2.283, 0.000), Point(5.715, 2.033, 0.000), Point(6.565, 2.033, 0.000), Point(6.565, 2.283, 0.000), Point(6.577, 2.283, 0.000), Point(7.427, 2.283, 0.000), Point(7.427, 2.533, 0.000), Point(7.439, 2.533, 0.000), Point(8.289, 2.533, 0.000), Point(8.301, 2.533, 0.000), Point(8.301, 2.432, 0.000), Point(9.461, 2.432, 0.000), Point(9.473, 2.432, 0.000), Point(10.523, 2.432, 0.000), Point(10.523, 3.377, 0.000), Point(9.473, 3.377, 0.000), Point(9.461, 3.377, 0.000), Point(9.461, 3.778, 0.000), Point(8.301, 3.778, 0.000), Point(8.301, 3.278, 0.000), Point(8.289, 3.278, 0.000), Point(7.439, 3.278, 0.000), Point(7.427, 3.278, 0.000), Point(7.427, 4.028, 0.000), Point(6.577, 4.028, 0.000), Point(6.577, 3.528, 0.000), Point(6.565, 3.528, 0.000), Point(5.715, 3.528, 0.000), Point(5.703, 3.528, 0.000), Point(5.703, 4.278, 0.000), Point(4.853, 4.278, 0.000), Point(4.853, 3.778, 0.000), Point(4.841, 3.778, 0.000), Point(3.991, 3.778, 0.000), Point(3.991, 3.278, 0.000), Point(3.979, 3.278, 0.000), Point(3.129, 3.278, 0.000), Point(3.117, 3.278, 0.000), Point(3.117, 4.028, 0.000), Point(2.267, 4.028, 0.000), Point(2.267, 3.778, 0.000), Point(2.255, 3.778, 0.000), Point(1.095, 3.778, 0.000), Point(1.095, 3.377, 0.000), Point(1.083, 3.377, 0.000)], [Point(-0.000, 0.000, 0.000), Point(0.201, 0.000, 0.000), Point(0.463, 0.220, 0.000), Point(10.110, 0.220, 0.000), Point(10.372, 0.000, 0.000), Point(10.525, 0.000, 0.000)])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\shwde\anaconda3\envs\acoustic_panel_system\lib\site-packages\compas\rpc\proxy.py", line 406, in _proxy
ostring = self._function(istring, self._path or "")
File "C:\Users\shwde\anaconda3\envs\acoustic_panel_system\lib\xmlrpc\client.py", line 1112, in __call__
return self.__send(self.__name, args)
File "C:\Users\shwde\anaconda3\envs\acoustic_panel_system\lib\xmlrpc\client.py", line 1452, in __request
verbose=self.__verbose
File "C:\Users\shwde\anaconda3\envs\acoustic_panel_system\lib\xmlrpc\client.py", line 1154, in request
return self.single_request(host, handler, request_body, verbose)
File "C:\Users\shwde\anaconda3\envs\acoustic_panel_system\lib\xmlrpc\client.py", line 1170, in single_request
return self.parse_response(resp)
File "C:\Users\shwde\anaconda3\envs\acoustic_panel_system\lib\xmlrpc\client.py", line 1342, in parse_response
return u.close()
File "C:\Users\shwde\anaconda3\envs\acoustic_panel_system\lib\xmlrpc\client.py", line 656, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 1: "<class 'AttributeError'>:'PanelSystem' object has no attribute '_guid'">
Which gives some more information, but I’m not sure how to interpreted it…