Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions Distributive/Robots/Kuka robot (src_dat)_DN/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch post",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "buildPostprocessor",
"program": "${env:SprutCAMDir}/DotNet/InpCore.exe",
"args": [
"-cldviewermode",
"-sharedfile:STInpCoreOfDebugger",
"-postfile:\"${workspaceFolder}\\bin\\Debug\\${workspaceFolderBasename}.dll\""
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"stopAtEntry": false,
"justMyCode": true
},
{
"name": "Launch post (console mode)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "buildPostprocessor",
"program": "${env:SprutCAMDir}/DotNet/InpCore.exe",
"args": [
"-batchmode",
"-cldfile:\"c:\\Users\\Public\\Documents\\SprutCAM\\Version 16\\Projects\\Examples\\Milling\\3+2D\\3+2.stc\"",
"-postfile:\"${workspaceFolder}\\bin\\Debug\\${workspaceFolderBasename}.dll\"",
"-settingsfile:\"${workspaceFolder}\\Settings.xml"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"stopAtEntry": false,
"enableStepFiltering": false,
"justMyCode": true
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
44 changes: 44 additions & 0 deletions Distributive/Robots/Kuka robot (src_dat)_DN/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "buildPostprocessor",
"command": "dotnet",
"type": "shell",
"args": [
"build",
// Ask dotnet build to generate full paths for file names.
"/property:GenerateFullPaths=true",
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
"/consoleloggerparameters:NoSummary"
],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "shell",
"args": [
"publish",
// Ask dotnet build to generate full paths for file names.
"/property:GenerateFullPaths=true",
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
"/consoleloggerparameters:NoSummary"
],
"group": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0-windows</TargetFramework>
<OutDir>bin\Debug\</OutDir>
<PublishDir>bin\Debug\</PublishDir>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>annotations</Nullable>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Settings.xml"/>
<Reference Include="STDefLib">
<HintPath>$(SprutCAMDir)\DotNet\STDefLib.dll</HintPath>
</Reference>
<Reference Include="VecMatrLib">
<HintPath>$(SprutCAMDir)\DotNet\VecMatrLib.dll</HintPath>
</Reference>
<Reference Include="SCPostprocessor">
<HintPath>$(SprutCAMDir)\DotNet\SCPostprocessor.dll</HintPath>
</Reference>
<Using Include="System" />
<Using Include="System.Text" />
<Using Include="System.Diagnostics" />
<Using Include="SprutTechnology.STDefLib" />
<Using Include="SprutTechnology.VecMatrLib"/>
<Using Include="SprutTechnology.STDefLib.STDef" Static="true" />
<Using Include="SprutTechnology.VecMatrLib.VML" Static="true" />
<Using Include="SprutTechnology.SCPostprocessor.CommonFuncs" Static="true" />
</ItemGroup>

</Project>
115 changes: 115 additions & 0 deletions Distributive/Robots/Kuka robot (src_dat)_DN/PostSchema.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1">
<xs:element name="Settings">
<xs:complexType>
<xs:sequence maxOccurs="1">
<xs:element name="Description">
<xs:complexType>
<xs:sequence>
<xs:element name="Comments" type="xs:string"/>
<xs:element name="CNCSystem" type="xs:string"/>
<xs:element name="MachineName" type="xs:string"/>
<xs:element name="Authors" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Common">
<xs:complexType>
<xs:sequence>
<xs:element name="BreakArcs">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="No"/>
<xs:enumeration value="Cuts"/>
<xs:enumeration value="Halfs"/>
<xs:enumeration value="Quaters"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BreakHelix" type="xs:boolean"/>
<xs:element name="ArcTolerance" type="xs:double"/>
<xs:element name="MaxCircleRadius" type="xs:double"/>
<xs:element name="DecimalSeparator">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="."/>
<xs:enumeration value=","/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="UserDefinedParameters">
<xs:complexType>
<xs:choice minOccurs='0' maxOccurs="unbounded">
<xs:element name="Group" type="Group"/>
<xs:element name="Parameter" type="ParameterType"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Version" type="xs:decimal" use="required"/>
</xs:complexType>
</xs:element>

<xs:complexType name="Group">
<xs:choice minOccurs='0' maxOccurs="unbounded">
<xs:element name="Group" type="Group"/>
<xs:element name="Parameter" type="ParameterType"/>
</xs:choice>
<xs:attribute name="ID" type="xs:string" use="required"/>
<xs:attribute name="Caption" use="required">
<xs:simpleType>
<xs:union memberTypes="xs:string CaptionEnum"/>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="ValueType">
<xs:restriction base="xs:string">
<xs:enumeration value="String"/>
<xs:enumeration value="Integer"/>
<xs:enumeration value="Double"/>
<xs:enumeration value="FileName"/>
<xs:enumeration value="FolderName"/>
<xs:enumeration value="Boolean"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CaptionEnum">
<xs:restriction base="xs:string">
<xs:enumeration value="$(OutputFiles)"/>
<xs:enumeration value="$(NCFileExt)"/>
<xs:enumeration value="$(NCFileName)"/>
<xs:enumeration value="$(NCFilesDir)"/>
<xs:enumeration value="$(NCProgNumber)"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="ParameterType" mixed="true">
<xs:sequence minOccurs="0">
<xs:element name="Value" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Default" type="xs:boolean"/>
<xs:attribute name="Caption">
<xs:simpleType>
<xs:union memberTypes="xs:string CaptionEnum"/>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="ID" type="xs:string" use="required"/>
<xs:attribute name="Caption" use="required">
<xs:simpleType>
<xs:union memberTypes="xs:string CaptionEnum"/>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Type" type="ValueType" use="required"/>
<xs:attribute name="FilesFilter" type="xs:string" use="optional"/>
<xs:attribute name="Editable" type="xs:boolean" use="optional"/>
<xs:attribute name="Persistent" type="xs:boolean" use="optional"/>
</xs:complexType>
</xs:schema>
Loading