Example #1
0
    def draw(self):
        ITERM().sym_plot(self)
        self.move((btu(1), 0))
        self.draw_thermal()

        self.move((btu(2), 0))

        ITERM().sym_plot(self)
Example #2
0
    def draw(self):
        self.draw_inline_terminal(right=False)

        self.add_line(
            (15, 0),
            (49.0734179127745, -8.00013698266566),
        )
        self.move((btu(2), 0))
        self.draw_inline_terminal(left=False)
Example #3
0
    def draw(self):
        self.draw_inline_terminal(right=False)

        self.add_line(
            (15, 0),
            (55, 5.77350269189626),
        )
        self.move((btu(2), 0))
        self.draw_inline_terminal(left=False)
Example #4
0
    def draw(self):
        ETERM().sym_plot(self)

        ETERM().sym_plot(self, offset=(btu(4), 0))

        self.add_rectangle(
            [
                (-10, 20),
                (110, 20),
                (110, -20),
                (-10, -20)
            ],
            attr={'flags': ezdxf.const.POLYLINE_CLOSED, 'linetype': 'PHANTOM'}
        )
Example #5
0
    def draw(self):
        self.draw_inline_terminal(right=False)

        self.add_line(
            (10, -5),
            (50, -5),
        )

        self.add_line(
            (30, -5),
            (30, 10),
        )

        self.move((btu(2), 0))
        self.draw_inline_terminal(left=False)
Example #6
0
 def __init__(self):
     super(Drawable, self).__init__()
     self.plot_offset = (btu(1), 0)
     self.extents = (btu(1), btu(1))
Example #7
0
 def draw(self):
     ITERM(left=True, right=False).sym_plot(self)
     self.add_arc(center=(30, -5), radius=25, start=37, end=143)
     ITERM(left=False, right=True)\
         .sym_plot(self, (btu(2), 0))
Example #8
0
 def draw(self):
     self.draw_inline_terminal()
     self.move((btu(1), 0))
     self.draw_magnetic()
     self.move((btu(1), 0))
     self.draw_inline_terminal()