stepmod-utils 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/stepmod-annotate-all +37 -1
- data/lib/stepmod/utils/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5dc18c380e823b42d5e958c7c83008805c7ae44966481bd892ebe8e7119df9b
|
4
|
+
data.tar.gz: 83e1abb4edb5a8c9b585fca855024fb4cabc689a3223b858dd4b4d7c6f449897
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b55e1bce8655edcc98ded98f9bd1658ecedafb15c413e123f9de6d5aecfe079f9ed929417683ad54b17e0586b55354baf4a798a94fc4a0908b825b58ca973209
|
7
|
+
data.tar.gz: 9dd2822119df10d4c6e1f66b5a49329e093c8c1a8b2bfcf05609f67660b3a5b5e0aff62fc86e8b116eb3c7da0721088d1aee91df2d9879b42da243897c10e4ba
|
data/exe/stepmod-annotate-all
CHANGED
@@ -7,6 +7,41 @@ require "fileutils"
|
|
7
7
|
require "bundler/setup"
|
8
8
|
require "optparse"
|
9
9
|
|
10
|
+
SKIP_DETACHED_SCHEMAS = %w(
|
11
|
+
assembly_constraint_schema
|
12
|
+
assembly_feature_relationship_schema
|
13
|
+
basis_schema
|
14
|
+
conditions_schema
|
15
|
+
domain_schema
|
16
|
+
equations_schema
|
17
|
+
explicit_constraint_schema
|
18
|
+
explicit_geometric_constraint_schema
|
19
|
+
fea_scalar_vector_tensor_schema
|
20
|
+
finite_element_analysis_control_and_result_schema
|
21
|
+
hierarchy_schema
|
22
|
+
iso13584_expressions_schema
|
23
|
+
ISO13584_expressions_schema
|
24
|
+
iso13584_generic_expressions_schema
|
25
|
+
ISO13584_generic_expressions_schema
|
26
|
+
mathematical_functions_schema
|
27
|
+
mesh_connectivity_schema
|
28
|
+
mesh_function_schema
|
29
|
+
mesh_topology_schema
|
30
|
+
method_definition_schema
|
31
|
+
parameterization_schema
|
32
|
+
procedural_model_schema
|
33
|
+
procedural_shape_model_schema
|
34
|
+
procedural_sketch_schema
|
35
|
+
process_property_representation_schema
|
36
|
+
process_property_schema
|
37
|
+
results_schema
|
38
|
+
sketch_schema
|
39
|
+
solid_shape_element_schema
|
40
|
+
structural_response_definition_schema
|
41
|
+
structural_response_representation_schema
|
42
|
+
variational_representation_schema
|
43
|
+
)
|
44
|
+
|
10
45
|
def log(message, indent = 0)
|
11
46
|
indent_spaces = " " * (indent * 2)
|
12
47
|
puts "[stepmod-utils] #{indent_spaces}#{message}"
|
@@ -91,8 +126,9 @@ def all_express_files(stepmod_dir)
|
|
91
126
|
files << "#{stepmod_dir}/data/modules/#{item['name']}/mim.exp"
|
92
127
|
end
|
93
128
|
|
129
|
+
# Skip resource schemas
|
94
130
|
index.xpath("resources/resource").each do |item|
|
95
|
-
next if item["name"]
|
131
|
+
next if SKIP_DETACHED_SCHEMAS.include?(item["name"])
|
96
132
|
|
97
133
|
files << "#{stepmod_dir}/data/resources/#{item['name']}/#{item['name']}.exp"
|
98
134
|
end
|