PySimultan 0.4.9__py3-none-any.whl → 0.4.10__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
PySimultan2/__about__.py CHANGED
@@ -1 +1 @@
1
- version = '0.4.9'
1
+ version = '0.4.10'
PySimultan2/data_model.py CHANGED
@@ -674,6 +674,10 @@ class DataModel:
674
674
  sim_taxonomy: SimTaxonomy = None) -> SimTaxonomyEntry:
675
675
  return get_or_create_taxonomy_entry(name, key, description, sim_taxonomy, data_model=self, create=True)
676
676
 
677
+ def get_root_components(self, mapper: 'PythonMapper'):
678
+ mapper.current_data_model = self
679
+ return mapper.get_typed_data(self, component_list=self.data.Items, create_all=False)
680
+
677
681
  def __del__(self):
678
682
  self.cleanup()
679
683
 
@@ -56,7 +56,7 @@ class PythonMapper(object):
56
56
  EdgeLoop: SimultanEdgeLoop}
57
57
 
58
58
  self.re_register = False
59
- self.load_undefined = True
59
+ self.load_undefined = False
60
60
 
61
61
  def register(self, taxonomy, cls, taxonomy_map=None):
62
62
  if not self.re_register and taxonomy in self.registered_classes.keys():
@@ -289,6 +289,7 @@ class PythonMapper(object):
289
289
  new_mapper.registered_classes = self.registered_classes
290
290
  new_mapper.taxonomy_maps = self.taxonomy_maps
291
291
  new_mapper.registered_geometry_classes = self.registered_geometry_classes
292
+ new_mapper.load_undefined = self.load_undefined
292
293
  return new_mapper
293
294
 
294
295
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: PySimultan
3
- Version: 0.4.9
3
+ Version: 0.4.10
4
4
  Project-URL: Documentation, https://github.com/Bühler Maximilian/PySimultan2#readme
5
5
  Project-URL: Issues, https://github.com/Bühler Maximilian/PySimultan2/issues
6
6
  Project-URL: Source, https://github.com/Bühler Maximilian/PySimultan2
@@ -1,10 +1,10 @@
1
- PySimultan2/__about__.py,sha256=gGpYIcr8fwdgEn5xSczdDNlnQ7U-Hl42ws4fZif-nuQ,19
1
+ PySimultan2/__about__.py,sha256=uGUI89PexfWbfIBjG7h1-NiGB_zMz-AA673uKu8hQGE,20
2
2
  PySimultan2/__init__.py,sha256=cabTN1Oz8xtFM31ouBKg5lwLqW5vtexDP669PYyNLnA,3224
3
- PySimultan2/data_model.py,sha256=CHLfdOFF1blU-TBcn9vK98ejNRMrXUS-hvQEkZI9y4U,27016
3
+ PySimultan2/data_model.py,sha256=3O6O2Lw0lQJtlwNa7_NuTjp4gpdHiusjXHyWtmmHtlU,27214
4
4
  PySimultan2/default_types.py,sha256=v_4awsUURLbu4Sfw7J_7BoQKirXbKdU9s7-wqgA4nNE,23112
5
5
  PySimultan2/files.py,sha256=gx3BA6WYjNVplqqes7jkPopp6O50pgLvantXgmitx54,12657
6
6
  PySimultan2/multi_values.py,sha256=ZFXlTLuZo32x7_7diYAp2XEjp5uwgHLgNOzN7v74-5I,13650
7
- PySimultan2/object_mapper.py,sha256=T15f-XBDAh9Bnr74-JBPUj0-lyzZ4OwDXnC7Yu009qA,12333
7
+ PySimultan2/object_mapper.py,sha256=nsLuGT0brMqlSoqxsbTHQQxEdoWvoTVM0APpF4MOdTE,12391
8
8
  PySimultan2/simultan_object.py,sha256=Plr9nwgRmKzdkTO7l8ksWekEow9pT-MgjjAfLlChgDI,17208
9
9
  PySimultan2/taxonomy_maps.py,sha256=IYpIat6ZJi5MyCbsjAxWvVOWDRp_VvSMWUY3CApKSik,8061
10
10
  PySimultan2/utils.py,sha256=J3T7KDfONFeLWBulXmGMCaaOu5sfkDSHmI92JWO8dW4,62553
@@ -75,7 +75,7 @@ PySimultan2/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
75
75
  PySimultan2/resources/assimp.dll,sha256=HwfDwXqoPDTFRyoQpA3qmgZoUdFtziJkV5fNtktEZEU,6081536
76
76
  PySimultan2/resources/defaultsettings.xml,sha256=s6Tk1tubLz5UYqXZWpD42EDHzedemRY1nEneoIVcUfg,392
77
77
  PySimultan2/resources/setup.bat,sha256=fjvvYfVM6TalS-QTSiKAbAId5nTsk8kGGo06ba-wWaY,32
78
- pysimultan-0.4.9.dist-info/METADATA,sha256=RsCYTnTlEZ9VIAt9wpsKNJtr25vcK7VE6ZKs-pZPGEc,2482
79
- pysimultan-0.4.9.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
80
- pysimultan-0.4.9.dist-info/licenses/LICENSE.txt,sha256=pmSr98k6N005KMojnZxzLGRuRlDjDx3PUrK1lFj53HA,1126
81
- pysimultan-0.4.9.dist-info/RECORD,,
78
+ pysimultan-0.4.10.dist-info/METADATA,sha256=Ga4tRspSlIDPakK5JGea9Ft8APQmCEl-sIm4BuU03Ag,2483
79
+ pysimultan-0.4.10.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
80
+ pysimultan-0.4.10.dist-info/licenses/LICENSE.txt,sha256=pmSr98k6N005KMojnZxzLGRuRlDjDx3PUrK1lFj53HA,1126
81
+ pysimultan-0.4.10.dist-info/RECORD,,