Skip to content

Commit

Permalink
variable file
Browse files Browse the repository at this point in the history
  • Loading branch information
HakanSeven12 committed Sep 28, 2023
1 parent 9b4d2d0 commit de3177b
Show file tree
Hide file tree
Showing 40 changed files with 150 additions and 150 deletions.
4 changes: 2 additions & 2 deletions InitGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TrailsWorkbench(FreeCADGui.Workbench):
"""
Class which gets initiated at startup of the GUI.
"""
from libs import icons_path
from trails_variables import icons_path

MenuText = 'Trails'
ToolTip = 'Transportation and Geomatics Engineering Workbench'
Expand Down Expand Up @@ -106,7 +106,7 @@ def Initialize(self):
Called when the workbench is first activated.
"""
import DraftTools
from libs import CommandGroup
from trails_variables import CommandGroup
from Trails.guitools import gui_cluster, gui_point_importer, gui_point_exporter,\
gui_terrain, gui_terrain_data, gui_terrain_editor, gui_region, gui_sections,\
gui_volume, gui_table, gui_pad, gui_landxml_importer, gui_geowidget
Expand Down
2 changes: 1 addition & 1 deletion Trails/get/get_alignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD

from libs import icons_path
from trails_variables import icons_path
from ..objects.group import Group
from ..viewproviders.view_group import ViewProviderGroup

Expand Down
2 changes: 1 addition & 1 deletion Trails/get/get_clusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD

from libs import icons_path
from trails_variables import icons_path
from ..objects.group import Group
from ..viewproviders.view_group import ViewProviderGroup

Expand Down
2 changes: 1 addition & 1 deletion Trails/get/get_terrains.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD

from libs import icons_path
from trails_variables import icons_path
from ..objects.group import Group
from ..viewproviders.view_group import ViewProviderGroup

Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..make import make_cluster


Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_geowidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from PySide2.QtWidgets import QLineEdit
import copy

from libs import icons_path
from trails_variables import icons_path


class GeoWidget(QLineEdit):
Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_landxml_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..tasks import task_landxml_importer


Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_pad.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui
import Part

from libs import icons_path
from trails_variables import icons_path
from ..make import make_terrain, make_cluster
from ..get import get_georigin

Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_point_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..tasks import task_cluster_export


Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_point_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..tasks import task_cluster_import


Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..make import make_region
from ..get import get_alignments
from ..tasks import task_set_patent
Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..tasks import task_create_sections


Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui
from pivy import coin

from libs import icons_path
from trails_variables import icons_path
from ..make import make_table


Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_terrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..make import make_terrain
from ..get import get_clusters

Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_terrain_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui
from pivy import coin

from libs import icons_path
from trails_variables import icons_path
from ..tasks import task_set_prop
from ..get import get_clusters

Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_terrain_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui
from pivy import coin

from libs import icons_path
from trails_variables import icons_path


class AddPoint:
Expand Down
2 changes: 1 addition & 1 deletion Trails/guitools/gui_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import icons_path
from trails_variables import icons_path
from ..tasks import task_create_volume


Expand Down
2 changes: 1 addition & 1 deletion Trails/make/make_regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD

from libs import icons_path
from trails_variables import icons_path
from ..objects.group import Group
from ..viewproviders.view_group import ViewProviderGroup

Expand Down
2 changes: 1 addition & 1 deletion Trails/make/make_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from pivy import coin
import math

from libs import icons_path
from trails_variables import icons_path
from ..get import get_georigin
from ..objects.group import Group
from ..viewproviders.view_group import ViewProviderGroup
Expand Down
2 changes: 1 addition & 1 deletion Trails/make/make_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD

from libs import icons_path
from trails_variables import icons_path
from ..objects.group import Group
from ..viewproviders.view_group import ViewProviderGroup

Expand Down
2 changes: 1 addition & 1 deletion Trails/make/make_volumes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD

from libs import icons_path
from trails_variables import icons_path
from ..objects.group import Group
from ..viewproviders.view_group import ViewProviderGroup

Expand Down
2 changes: 1 addition & 1 deletion Trails/objects/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import Points
import copy

from libs import marker_dict
from trails_variables import marker_dict
from ..get import get_georigin


Expand Down
2 changes: 1 addition & 1 deletion Trails/objects/georigin.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui

from pivy import coin
from libs import icons_path, zone_list
from trails_variables import icons_path, zone_list


class GeoOrigin:
Expand Down
2 changes: 1 addition & 1 deletion Trails/objects/terrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD
import Mesh, Part

from libs import icons_path
from trails_variables import icons_path
from ..functions.terrain_functions import DataFunctions
from ..get import get_georigin

Expand Down
2 changes: 1 addition & 1 deletion Trails/tasks/task_cluster_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui
from PySide2 import QtWidgets

from libs import ui_path
from trails_variables import ui_path
from .task_panel import TaskPanel
from ..get import get_clusters

Expand Down
2 changes: 1 addition & 1 deletion Trails/tasks/task_cluster_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from PySide2 import QtCore, QtWidgets
import csv, os

from libs import ui_path
from trails_variables import ui_path
from .task_panel import TaskPanel
from ..get import get_clusters, get_georigin
from ..make import make_cluster
Expand Down
2 changes: 1 addition & 1 deletion Trails/tasks/task_create_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui
from pivy import coin

from libs import ui_path
from trails_variables import ui_path
from .task_panel import TaskPanel
from ..get import get_terrains
from ..make import make_section
Expand Down
2 changes: 1 addition & 1 deletion Trails/tasks/task_create_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD, FreeCADGui
from pivy import coin

from libs import ui_path
from trails_variables import ui_path
from .task_panel import TaskPanel
from ..get import get_alignments
from ..make import make_volume
Expand Down
2 changes: 1 addition & 1 deletion Trails/tasks/task_landxml_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import FreeCAD, FreeCADGui
from PySide import QtGui, QtCore

from libs import ui_path
from trails_variables import ui_path
from ..tasks import landxml_subtask
from ..make import make_alignment, make_terrain, make_cluster

Expand Down
2 changes: 1 addition & 1 deletion Trails/tasks/task_set_patent.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import ui_path
from trails_variables import ui_path
from .task_panel import TaskPanel


Expand Down
2 changes: 1 addition & 1 deletion Trails/tasks/task_set_prop.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import FreeCAD, FreeCADGui

from libs import ui_path
from trails_variables import ui_path
from .task_panel import TaskPanel


Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from copy import deepcopy
from math import pi

from libs import icons_path
from trails_variables import icons_path
from ..get import get_georigin
from ..functions import alignment_functions

Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from pivy import coin
import random, copy

from libs import icons_path, marker_dict
from trails_variables import icons_path, marker_dict
from ..get import get_georigin


Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_georigin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

"""Provides the viewprovider code for Geo Origin objects."""

from libs import icons_path
from trails_variables import icons_path


class ViewProviderGeoOrigin:
Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from pivy import coin
import math

from libs import icons_path
from trails_variables import icons_path
from ..get import get_georigin


Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_section.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pivy import coin
import random

from libs import icons_path
from trails_variables import icons_path
from ..get import get_georigin


Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import FreeCAD
from pivy import coin

from libs import icons_path
from trails_variables import icons_path
from ..get import get_georigin


Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_terrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from pivy import coin
import random

from libs import icons_path, line_patterns
from trails_variables import icons_path, line_patterns
from ..functions import terrain_functions
from ..get import get_georigin

Expand Down
2 changes: 1 addition & 1 deletion Trails/viewproviders/view_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pivy import coin
import random

from libs import icons_path
from trails_variables import icons_path
from ..get import get_georigin


Expand Down
Loading

0 comments on commit de3177b

Please sign in to comment.