News: Need training? HyperSizer Training Videos are available now! Learn more here: https://hypersizer.com/trainingevents/e-learning/

Author Topic: Way to Define Composite Ply Angle Tolerance?  (Read 32489 times)

khender

  • Client
  • **
  • Posts: 6
    •  
Way to Define Composite Ply Angle Tolerance?
« on: October 21, 2016, 03:54:35 PM »
Is there a method within HyperSizer to define a composite ply angle tolerance (i.e. +/- 5 degrees) to represent the possible slight differences between the designed part and the physically manufactured part? 

James

  • Administrator
  • *****
  • Posts: 286
    •  
Re: Way to Define Composite Ply Angle Tolerance?
« Reply #1 on: October 24, 2016, 09:43:42 AM »
There is no automated feature for this. However, you could develop an automated process using the Object Model scripting capability (supported scripting languages: Python, Excel VBA, Matlab). There's a tutorial that uses a spreadsheet to push in different stiffener spacing values, then the HyperSizer optimizes the cross section and the spreadsheet extracts the optimized panel dimensions.

See: https://hypersizer.com/help_7.2/#COM/SensitivityCurve/com-sc-overview.php%3FTocPath%3DScripting%7CTutorials%7CProgramming%7CSensitivity%2520Curve%2520Application%7C_____1

This spreadsheet could be updated to set different laminates with varying ply angles. Here is some VBA code for setting the laminate to a component in HyperSizer..

CID=## ‘(replace with component number)
Lamnam=’Laminate Name’ (replace with actual laminate name)

‘ Get laminate ID
Set Lam = Lams.GetLaminate(lamnam)
Lid = Lam.MaterialId

‘ Get associated group object
Set Comp = Comps.GetComponent(CID)
GID = Comp.GroupId
Set Group = Groups.GetGroup(GID)
       
 Set DLCol = Group.DiscreteLaminates

' Assign laminate to panel
Call DLCol.Add(vpdTopFace_ThicknessMaterial, LID)