-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,121 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
//application inp | ||
UserApp.exe 9 | ||
user_macros.inp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
page("Structures", "Tekla") | ||
{ | ||
|
||
usermacro(6,"j_Hall") | ||
{ | ||
icon(1, 3, xs_macro_6, tip_m6) | ||
|
||
command(one_point) | ||
|
||
|
||
tab_page("","jd_Parameters",3) | ||
{ | ||
attribute("nframes", "j_no_of_frames", integer, "%d", none, check_maxmin, "100", "1") | ||
{ | ||
value("5", 1) | ||
} | ||
|
||
attribute("distance", "j_distance_between_frames", distance, "%.2f", none, none, "0.0", "0.0") | ||
{ | ||
value("5000.0", 1) | ||
} | ||
|
||
attribute("height1", "j_height_of_column", distance, "%.2f", none, none, "0.0", "0.0") | ||
{ | ||
value("4000.00", 1) | ||
} | ||
|
||
attribute("height2", "j_height_of_middle", distance, "%.2f", none, none, "0.0", "0.0") | ||
{ | ||
value("4500.00", 1) | ||
} | ||
|
||
attribute("width", "j_width_of_frame", distance, "%.2f", none, none, "0.0", "0.0") | ||
{ | ||
value("8000.00", 1) | ||
} | ||
|
||
attribute("profile1", "j_column_profile_name", string,"%s", none, none, "0.0", "0.0") | ||
{ | ||
value("HEA400", 1) | ||
} | ||
|
||
attribute("profile2", "j_beam_profile_name", string,"%s", none, none, "0.0", "0.0") | ||
{ | ||
value("IPE330", 1) | ||
} | ||
} | ||
|
||
/* ORIG depend(0) */ | ||
depend(0) | ||
modify(1) | ||
draw(1, 100.0, 100.0, 0.0, 0.0) | ||
} | ||
|
||
userdetail(45, "Round base plate") | ||
{ | ||
icon(1, 12, xs_detail_45, tip_d45) | ||
autodir_type(autodir_detail) | ||
|
||
tab_page("","jd_Picture",1) | ||
{ | ||
part ("j_plate", tpl1, , , pos1, mat, , partname) | ||
picture("470_2_line", 400, 2, 15, 65) | ||
|
||
picture("xsu_detail_45_plate", 100, 200, 90, 125) | ||
parameter(" Endplate from edge", e1, distance, number, 200, 100) | ||
|
||
picture("xsu_detail_45_stiffeners", 100, 100, 350, 125) | ||
parameter(" Web plate height", hpl1, distance, number, 525, 175) | ||
parameter(" Web plate width", bpl1, distance, number, 450, 250) | ||
parameter(" Web plate chamfer", bj1, distance, number, 450, 100) | ||
|
||
attribute("atab1", "j_Bolts", option,"%s", none, none, "0.0", "0.0",373,300,90) | ||
{ | ||
value("j_no", 0) | ||
value("j_yes", 1) | ||
} | ||
attribute("atab2", "j_plate_stiffeners", option,"%s", none, none, "0.0", "0.0",373,330,90) | ||
{ | ||
value("j_no", 0) | ||
value("j_yes", 1) | ||
} | ||
} | ||
tab_page("","Bolts",2) | ||
{ | ||
attribute("bolt_size_lb", "j_bolt_size", label2,"%s", none, none, "0.0", "0.0",20,5) | ||
attribute("bolt_standard_lb", "j_bolt_standard", label3,"%s", none, none, "0.0", "0.0",20,30) | ||
attribute("tolerance_lb", "j_tolerance", label2,"%s", none, none, "0.0", "0.0",20,55) | ||
attribute("thread_in_material_lb", "j_thread_in_material", label3,"%s", none, none, "0.0", "0.0",20,80) | ||
parameter("",diameter, distance, number,160,5,90) | ||
parameter("",screwdin, string, text,160,30,90) | ||
parameter("",tolerance, distance, number,160,55,90) | ||
attribute("thread_in", "", option,"%s", none, none, "0.0", "0.0",160,80,90) | ||
{ | ||
value("j_no", 0) | ||
value("j_yes", 1) | ||
} | ||
attribute("assembly_type", "", option,"%s", none, none, "0.0", "0.0",160,111,90) | ||
{ | ||
value("j_site", 1) | ||
value("j_workshop", 0) | ||
} | ||
|
||
long_hole(260,0) | ||
bolt_structure(469,0) | ||
extra_length(519,143) | ||
|
||
picture("xsu_detail_45_bolts", 100, 100, 180, 155) | ||
parameter("", nb, integer, number, 350, 205, 40) | ||
parameter("", lbd, distance_list_no_toggle, number, 400, 205) | ||
} | ||
|
||
welding( ,10, 0, , 10, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) | ||
welding( ,10, 0, , 10, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) | ||
|
||
picture_used() | ||
} | ||
|
||
userjoint(13,"j_Fitting") | ||
{ | ||
icon(1, 17, xs_joint_13, tip_j13) | ||
origin_type( collision ) | ||
autodir_type(autodir_basic) | ||
|
||
part ("j_upper_stiffeners", tj1, bj1, hj1, pos5, mat , , partname) /* pna 230398 pos1 -> pos5 */ | ||
part ("j_lower_stiffeners", tj2, bj2, hj2, pos6, mat2, , partname2) | ||
|
||
tab_page("","jd_Picture",1) | ||
{ | ||
picture("jnt_pict_uj13", 255, 180) | ||
parameter(" Clearance prim/sec", dvl1, distance, number,38) | ||
} | ||
tab_page("","jd_Parameters",3) | ||
{ | ||
attribute("weld", "j_weldings", option,"%s", none, none, "0.0", "0.0") | ||
{ | ||
value("j_no", 1) | ||
value("j_yes", 0) | ||
} | ||
parameter("j_stiff_dist_from_upper", adist1, distance, number, 2) | ||
parameter("j_stiff_dist_from_lower", adist2, distance, number, 3) | ||
parameter("j_upper_dist_from_beam", adist3, distance, number, 4) | ||
parameter("j_lower_dist_from_beam", adist4, distance, number, 5) | ||
parameter("j_end_plate_max_gap", col, distance, number,6) | ||
} | ||
welding( ,0, 0, , 0, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) | ||
welding( ,0, 0, , 0, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) | ||
welding( ,10, 0, , 10,0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) | ||
welding( ,10, 0, , 10,0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) /* for horiz stiff */ | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="bin"> | ||
<UniqueIdentifier>{41e2049c-b2bf-4fea-b5f6-77359eecb7dd}</UniqueIdentifier> | ||
</Filter> | ||
<Filter Include="INP"> | ||
<UniqueIdentifier>{ed5a366d-f9b7-4c82-a21e-1bd31b3caccf}</UniqueIdentifier> | ||
</Filter> | ||
<Filter Include="Source files"> | ||
<UniqueIdentifier>{13b61104-9620-4e39-a083-abf21017868c}</UniqueIdentifier> | ||
<Extensions>c;cpp</Extensions> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="packages.config" /> | ||
<None Include="INP\application.inp"> | ||
<Filter>INP</Filter> | ||
</None> | ||
<None Include="INP\user_macros.inp"> | ||
<Filter>INP</Filter> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="about_dialog.c"> | ||
<Filter>Source files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="fitting_joint.c"> | ||
<Filter>Source files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="hall_macro.c"> | ||
<Filter>Source files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="info_dialog.c"> | ||
<Filter>Source files</Filter> | ||
</ClCompile> | ||
<ClCompile Include="round_plate_detail.c"> | ||
<Filter>Source files</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|x64"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|x64"> | ||
<Configuration>Release</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{5711FE96-BC50-4F80-AF37-802B08A2B489}</ProjectGuid> | ||
<RootNamespace>UserApp2021</RootNamespace> | ||
<Keyword>Win32Proj</Keyword> | ||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
<PropertyGroup> | ||
<OutDir>..\BuildDrop\UserApp\</OutDir> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup> | ||
<ClCompile> | ||
<PreprocessorDefinitions>WIN32;_CONSOLE;_CRT_SECURE_NO_WARNINGS;LEGACY_SOLUTION;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">stdcpp17</LanguageStandard> | ||
</ClCompile> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<None Include="INP\application.inp" /> | ||
<None Include="INP\user_macros.inp" /> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="about_dialog.c" /> | ||
<ClCompile Include="fitting_joint.c" /> | ||
<ClCompile Include="hall_macro.c" /> | ||
<ClCompile Include="info_dialog.c" /> | ||
<ClCompile Include="round_plate_detail.c" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
<Import Project="..\packages\StructuresDevKit.2021.0.1\build\native\StructuresDevKit.targets" Condition="Exists('..\packages\StructuresDevKit.2021.0.1\build\native\StructuresDevKit.targets')" /> | ||
</ImportGroup> | ||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
<PropertyGroup> | ||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | ||
</PropertyGroup> | ||
<Error Condition="!Exists('..\packages\StructuresDevKit.2021.0.1\build\native\StructuresDevKit.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\StructuresDevKit.2021.0.1\build\native\StructuresDevKit.targets'))" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
#include "e3user.h" | ||
|
||
/*------------------------------------------------------------------------*/ | ||
/* Structures application's About dialog can be displayed by pushing the */ | ||
/* button on top of the connection toolbar. */ | ||
/* */ | ||
/* The data shown on the About dialog is defined within the */ | ||
/* applications xsDeveloperAboutInfo() function */ | ||
/*------------------------------------------------------------------------*/ | ||
|
||
/*------------------------------------------------------------------------*/ | ||
int xsDeveloperAboutInfo(char aTitle[], int TitleSize, | ||
char aVersion[], int VersionSize, | ||
char aDate[], int DateSize, | ||
char aCopyright[], int CopyrightSize) | ||
{ | ||
STRCPY(aTitle , "About UserApp application" , TitleSize ); | ||
STRCPY(aVersion , "Tekla Structures 16.0" , VersionSize ); | ||
STRCPY(aDate , "15.12.2009" , DateSize ); | ||
STRCPY(aCopyright, "Copyright 1992-2010 Tekla Corporation.\n" , CopyrightSize); | ||
STRCAT(aCopyright, "All rights reserved." , CopyrightSize); | ||
|
||
return TRUE; | ||
} |
Oops, something went wrong.