你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-07 23:14:03 +08:00
Added rotate method.
这个提交包含在:
@@ -63,6 +63,9 @@ class UserObjectMulti:
|
||||
"""Create the object and add it to the grid."""
|
||||
pass
|
||||
|
||||
def rotate(self, axis, angle):
|
||||
pass
|
||||
|
||||
def params_str(self):
|
||||
"""Readble string of parameters given to object."""
|
||||
return self.hash + ': ' + str(self.kwargs)
|
||||
@@ -549,7 +552,7 @@ class Rx(UserObjectMulti):
|
||||
|
||||
try:
|
||||
r.ID = self.kwargs['id']
|
||||
outputs = [self.kwargs['outputs']]
|
||||
outputs = self.kwargs['outputs']
|
||||
except KeyError:
|
||||
# If no ID or outputs are specified, use default
|
||||
r.ID = r.__class__.__name__ + '(' + str(r.xcoord) + ',' + str(r.ycoord) + ',' + str(r.zcoord) + ')'
|
||||
|
@@ -55,6 +55,9 @@ class UserObjectSingle:
|
||||
def create(self, grid, uip):
|
||||
pass
|
||||
|
||||
def rotate(self, axis, angle):
|
||||
pass
|
||||
|
||||
|
||||
class Title(UserObjectSingle):
|
||||
"""Allows you to include a title for your model.
|
||||
|
在新工单中引用
屏蔽一个用户