Skip to content
Snippets Groups Projects
Commit 56e3994c authored by Sören Münker's avatar Sören Münker
Browse files

decimal step sizes allowed.

parent 6592828d
No related branches found
No related tags found
1 merge request!2Experiments
...@@ -15,7 +15,7 @@ Public Class AndOrDataExtraction ...@@ -15,7 +15,7 @@ Public Class AndOrDataExtraction
Public bGenerateANDOR As Boolean Public bGenerateANDOR As Boolean
Public bAutomaticStep As Boolean Public bAutomaticStep As Boolean
Public iBoundingBoxCode As Integer Public iBoundingBoxCode As Integer
Public intStep As Integer Public intStep As Double
Public dCollSens As Double Public dCollSens As Double
Public t_liaison As Double Public t_liaison As Double
Public t_mw As Double Public t_mw As Double
...@@ -42,14 +42,14 @@ Public Class AndOrDataExtraction ...@@ -42,14 +42,14 @@ Public Class AndOrDataExtraction
Sub CatMain() Sub CatMain()
'Test parameters 'Test parameters
iBoundingBoxCode = 1 iBoundingBoxCode = 2
bBoundingBoxProjectionCheck = True bBoundingBoxProjectionCheck = True
bGenerateANDOR = False bGenerateANDOR = False
bAutomaticStep = True bAutomaticStep = False
intStep = 13 intStep = 2
dCollSens = 2 dCollSens = 1
xlsPath = "D:\03_Dissertation\20_Tools\CATIA_NET\ProgData\" xlsPath = "D:\03_Dissertation\20_Tools\CATIA_NET\ProgData\"
xlsFileName = "ex_rq1_10_orenda_jet_enginge" xlsFileName = "ex_rq1_5_shear_mold"
CATIA = GetObject(, "CATIA.Application") CATIA = GetObject(, "CATIA.Application")
If CATIA Is Nothing Then CATIA = CreateObject("CATIA.Application") If CATIA Is Nothing Then CATIA = CreateObject("CATIA.Application")
......
...@@ -28,7 +28,7 @@ Public Class AssemblyTiers2 ...@@ -28,7 +28,7 @@ Public Class AssemblyTiers2
Public bChooseExtractionDirection As Boolean Public bChooseExtractionDirection As Boolean
Public intJ As Integer Public intJ As Integer
Public iBoundingBoxCode As Integer Public iBoundingBoxCode As Integer
Public intStep As Integer Public intStep As Double
Public dCollSens As Double Public dCollSens As Double
Public xlsPath As String Public xlsPath As String
Public xlsFileName As String Public xlsFileName As String
...@@ -1660,7 +1660,7 @@ exitCD: ...@@ -1660,7 +1660,7 @@ exitCD:
End Function End Function
Sub moveProduct(objProd As Product, intDir As Integer, bPositive As Boolean) Sub moveProduct(objProd As Product, intDir As Integer, bPositive As Boolean)
Dim intS As Integer Dim intS As Double
If bPositive = True Then If bPositive = True Then
intS = intStep intS = intStep
Else Else
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment