def draw(self, context):
        layout = self.layout

        Donate.gui(layout, self.bl_label)

        row = layout.row()
        if self.useSelectionAsExtent: row.enabled = False
        row.prop(self, "ignoreGeoreferencing")

        row = layout.row()
        if self.useSpecificExtent or self.ignoreGeoreferencing or not (
                "latitude" in context.scene and "longitude" in context.scene):
            row.enabled = False
        row.prop(self, "useSelectionAsExtent")

        layout.label("Mesh primitive type:")
        row = layout.row()
        row.prop(self, "primitiveType", expand=True)

        row = layout.row()
        if self.useSelectionAsExtent: row.enabled = False
        row.prop(self, "useSpecificExtent")

        if self.useSpecificExtent:
            box = layout.box()
            box.prop(self, "maxLat")
            row = box.row()
            row.prop(self, "minLon")
            row.prop(self, "maxLon")
            box.prop(self, "minLat")
Ejemplo n.º 2
0
 def draw(self, context):
     layout = self.layout
     
     Donate.gui(
         layout,
         self.bl_label
     )
     
     row = layout.row()
     if self.useSelectionAsExtent: row.enabled = False
     row.prop(self, "ignoreGeoreferencing")
     
     row = layout.row()
     if self.useSpecificExtent or self.ignoreGeoreferencing or not ("latitude" in context.scene and "longitude" in context.scene):
         row.enabled = False
     row.prop(self, "useSelectionAsExtent")
     
     layout.label("Mesh primitive type:")
     row = layout.row()
     row.prop(self, "primitiveType", expand=True)
     
     row = layout.row()
     if self.useSelectionAsExtent: row.enabled = False
     row.prop(self, "useSpecificExtent")
     
     if self.useSpecificExtent:
         box = layout.box()
         box.prop(self, "maxLat")
         row = box.row()
         row.prop(self, "minLon")
         row.prop(self, "maxLon")
         box.prop(self, "minLat")
    def draw(self, context):
        layout = self.layout

        Donate.gui(layout, self.bl_label)

        layout.row().prop(self, "ignoreGeoreferencing")
        layout.row().prop(self, "singleMesh")
        layout.row().prop(self, "importBuildings")
        layout.row().prop(self, "importNaturals")
        layout.row().prop(self, "importHighways")
        layout.row().prop(self, "thickness")
Ejemplo n.º 4
0
 def draw(self, context):
     layout = self.layout
     
     Donate.gui(
         layout,
         self.bl_label
     )
     
     layout.row().prop(self, "ignoreGeoreferencing")
     layout.row().prop(self, "singleMesh")
     layout.row().prop(self, "importBuildings")
     layout.row().prop(self, "importNaturals")
     layout.row().prop(self, "importHighways")
     layout.row().prop(self, "thickness")
    def draw(self, context):
        layout = self.layout

        Donate.gui(layout, self.bl_label)

        box = layout.box()
        box.prop(self, "importBuildings")
        box.prop(self, "importNaturals")
        box.prop(self, "importHighways")
        box = layout.box()
        box.prop(self, "defaultHeight")
        box.prop(self, "levelHeight")
        box = layout.box()
        box.prop(self, "singleMesh")
        box.prop(self, "ignoreGeoreferencing")
    def draw(self, context):
        layout = self.layout

        Donate.gui(layout, self.bl_label)

        box = layout.box()
        box.prop(self, "importBuildings")
        box.prop(self, "importNaturals")
        box.prop(self, "importHighways")
        box = layout.box()
        box.prop(self, "defaultHeight")
        box.prop(self, "levelHeight")
        box = layout.box()
        box.prop(self, "singleMesh")
        box.prop(self, "ignoreGeoreferencing")
Ejemplo n.º 7
0
 def draw(self, context):
     layout = self.layout
     
     Donate.gui(
         layout,
         self.bl_label
     )
     
     #row = layout.row()
     #row.prop(self, "resolution")
     
     row = layout.row()
     if self.useSelectionAsExtent: row.enabled = False
     row.prop(self, "useSpecificExtent")
     
     if self.useSpecificExtent:
         box = layout.box()
         
         split = box.split(percentage=0.25)
         split.label()
         split.split(percentage=0.67).prop(self, "maxLat")
         
         row = box.row()
         row.prop(self, "minLon")
         row.prop(self, "maxLon")
         
         split = box.split(percentage=0.25)
         split.label()
         split.split(percentage=0.67).prop(self, "minLat")
     
     layout.separator()
     
     row = layout.row()
     if self.useSpecificExtent or self.ignoreGeoreferencing or not ("lat" in context.scene and "lon" in context.scene):
         row.enabled = False
     row.prop(self, "useSelectionAsExtent")
     
     #layout.label("Mesh primitive type:")
     #row = layout.row()
     #row.prop(self, "primitiveType", expand=True)
     
     layout.separator()
     
     row = layout.row()
     if self.useSelectionAsExtent: row.enabled = False
     row.prop(self, "ignoreGeoreferencing")