Skip to content

Commit ef9597d

Browse files
committed
Added source
1 parent fdf8aa7 commit ef9597d

135 files changed

Lines changed: 17124 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 330 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,330 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
##
4+
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5+
6+
# User-specific files
7+
*.suo
8+
*.user
9+
*.userosscache
10+
*.sln.docstates
11+
12+
# User-specific files (MonoDevelop/Xamarin Studio)
13+
*.userprefs
14+
15+
# Build results
16+
[Dd]ebug/
17+
[Dd]ebugPublic/
18+
[Rr]elease/
19+
[Rr]eleases/
20+
x64/
21+
x86/
22+
bld/
23+
[Bb]in/
24+
[Oo]bj/
25+
[Ll]og/
26+
27+
# Visual Studio 2015/2017 cache/options directory
28+
.vs/
29+
# Uncomment if you have tasks that create the project's static files in wwwroot
30+
#wwwroot/
31+
32+
# Visual Studio 2017 auto generated files
33+
Generated\ Files/
34+
35+
# MSTest test Results
36+
[Tt]est[Rr]esult*/
37+
[Bb]uild[Ll]og.*
38+
39+
# NUNIT
40+
*.VisualState.xml
41+
TestResult.xml
42+
43+
# Build Results of an ATL Project
44+
[Dd]ebugPS/
45+
[Rr]eleasePS/
46+
dlldata.c
47+
48+
# Benchmark Results
49+
BenchmarkDotNet.Artifacts/
50+
51+
# .NET Core
52+
project.lock.json
53+
project.fragment.lock.json
54+
artifacts/
55+
**/Properties/launchSettings.json
56+
57+
# StyleCop
58+
StyleCopReport.xml
59+
60+
# Files built by Visual Studio
61+
*_i.c
62+
*_p.c
63+
*_i.h
64+
*.ilk
65+
*.meta
66+
*.obj
67+
*.iobj
68+
*.pch
69+
*.pdb
70+
*.ipdb
71+
*.pgc
72+
*.pgd
73+
*.rsp
74+
*.sbr
75+
*.tlb
76+
*.tli
77+
*.tlh
78+
*.tmp
79+
*.tmp_proj
80+
*.log
81+
*.vspscc
82+
*.vssscc
83+
.builds
84+
*.pidb
85+
*.svclog
86+
*.scc
87+
88+
# Chutzpah Test files
89+
_Chutzpah*
90+
91+
# Visual C++ cache files
92+
ipch/
93+
*.aps
94+
*.ncb
95+
*.opendb
96+
*.opensdf
97+
*.sdf
98+
*.cachefile
99+
*.VC.db
100+
*.VC.VC.opendb
101+
102+
# Visual Studio profiler
103+
*.psess
104+
*.vsp
105+
*.vspx
106+
*.sap
107+
108+
# TFS 2012 Local Workspace
109+
$tf/
110+
111+
# Guidance Automation Toolkit
112+
*.gpState
113+
114+
# ReSharper is a .NET coding add-in
115+
_ReSharper*/
116+
*.[Rr]e[Ss]harper
117+
*.DotSettings.user
118+
119+
# JustCode is a .NET coding add-in
120+
.JustCode
121+
122+
# TeamCity is a build add-in
123+
_TeamCity*
124+
125+
# DotCover is a Code Coverage Tool
126+
*.dotCover
127+
128+
# AxoCover is a Code Coverage Tool
129+
.axoCover/*
130+
!.axoCover/settings.json
131+
132+
# Visual Studio code coverage results
133+
*.coverage
134+
*.coveragexml
135+
136+
# NCrunch
137+
_NCrunch_*
138+
.*crunch*.local.xml
139+
nCrunchTemp_*
140+
141+
# MightyMoose
142+
*.mm.*
143+
AutoTest.Net/
144+
145+
# Web workbench (sass)
146+
.sass-cache/
147+
148+
# Installshield output folder
149+
[Ee]xpress/
150+
151+
# DocProject is a documentation generator add-in
152+
DocProject/buildhelp/
153+
DocProject/Help/*.HxT
154+
DocProject/Help/*.HxC
155+
DocProject/Help/*.hhc
156+
DocProject/Help/*.hhk
157+
DocProject/Help/*.hhp
158+
DocProject/Help/Html2
159+
DocProject/Help/html
160+
161+
# Click-Once directory
162+
publish/
163+
164+
# Publish Web Output
165+
*.[Pp]ublish.xml
166+
*.azurePubxml
167+
# Note: Comment the next line if you want to checkin your web deploy settings,
168+
# but database connection strings (with potential passwords) will be unencrypted
169+
*.pubxml
170+
*.publishproj
171+
172+
# Microsoft Azure Web App publish settings. Comment the next line if you want to
173+
# checkin your Azure Web App publish settings, but sensitive information contained
174+
# in these scripts will be unencrypted
175+
PublishScripts/
176+
177+
# NuGet Packages
178+
*.nupkg
179+
# The packages folder can be ignored because of Package Restore
180+
**/[Pp]ackages/*
181+
# except build/, which is used as an MSBuild target.
182+
!**/[Pp]ackages/build/
183+
# Uncomment if necessary however generally it will be regenerated when needed
184+
#!**/[Pp]ackages/repositories.config
185+
# NuGet v3's project.json files produces more ignorable files
186+
*.nuget.props
187+
*.nuget.targets
188+
189+
# Microsoft Azure Build Output
190+
csx/
191+
*.build.csdef
192+
193+
# Microsoft Azure Emulator
194+
ecf/
195+
rcf/
196+
197+
# Windows Store app package directories and files
198+
AppPackages/
199+
BundleArtifacts/
200+
Package.StoreAssociation.xml
201+
_pkginfo.txt
202+
*.appx
203+
204+
# Visual Studio cache files
205+
# files ending in .cache can be ignored
206+
*.[Cc]ache
207+
# but keep track of directories ending in .cache
208+
!*.[Cc]ache/
209+
210+
# Others
211+
ClientBin/
212+
~$*
213+
*~
214+
*.dbmdl
215+
*.dbproj.schemaview
216+
*.jfm
217+
*.pfx
218+
*.publishsettings
219+
orleans.codegen.cs
220+
221+
# Including strong name files can present a security risk
222+
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
223+
#*.snk
224+
225+
# Since there are multiple workflows, uncomment next line to ignore bower_components
226+
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
227+
#bower_components/
228+
229+
# RIA/Silverlight projects
230+
Generated_Code/
231+
232+
# Backup & report files from converting an old project file
233+
# to a newer Visual Studio version. Backup files are not needed,
234+
# because we have git ;-)
235+
_UpgradeReport_Files/
236+
Backup*/
237+
UpgradeLog*.XML
238+
UpgradeLog*.htm
239+
ServiceFabricBackup/
240+
*.rptproj.bak
241+
242+
# SQL Server files
243+
*.mdf
244+
*.ldf
245+
*.ndf
246+
247+
# Business Intelligence projects
248+
*.rdl.data
249+
*.bim.layout
250+
*.bim_*.settings
251+
*.rptproj.rsuser
252+
253+
# Microsoft Fakes
254+
FakesAssemblies/
255+
256+
# GhostDoc plugin setting file
257+
*.GhostDoc.xml
258+
259+
# Node.js Tools for Visual Studio
260+
.ntvs_analysis.dat
261+
node_modules/
262+
263+
# Visual Studio 6 build log
264+
*.plg
265+
266+
# Visual Studio 6 workspace options file
267+
*.opt
268+
269+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
270+
*.vbw
271+
272+
# Visual Studio LightSwitch build output
273+
**/*.HTMLClient/GeneratedArtifacts
274+
**/*.DesktopClient/GeneratedArtifacts
275+
**/*.DesktopClient/ModelManifest.xml
276+
**/*.Server/GeneratedArtifacts
277+
**/*.Server/ModelManifest.xml
278+
_Pvt_Extensions
279+
280+
# Paket dependency manager
281+
.paket/paket.exe
282+
paket-files/
283+
284+
# FAKE - F# Make
285+
.fake/
286+
287+
# JetBrains Rider
288+
.idea/
289+
*.sln.iml
290+
291+
# CodeRush
292+
.cr/
293+
294+
# Python Tools for Visual Studio (PTVS)
295+
__pycache__/
296+
*.pyc
297+
298+
# Cake - Uncomment if you are using it
299+
# tools/**
300+
# !tools/packages.config
301+
302+
# Tabs Studio
303+
*.tss
304+
305+
# Telerik's JustMock configuration file
306+
*.jmconfig
307+
308+
# BizTalk build output
309+
*.btp.cs
310+
*.btm.cs
311+
*.odx.cs
312+
*.xsd.cs
313+
314+
# OpenCover UI analysis results
315+
OpenCover/
316+
317+
# Azure Stream Analytics local run output
318+
ASALocalRun/
319+
320+
# MSBuild Binary and Structured Log
321+
*.binlog
322+
323+
# NVidia Nsight GPU debugger configuration file
324+
*.nvuser
325+
326+
# MFractors (Xamarin productivity tool) working folder
327+
.mfractor/
328+
329+
# Sublime Workspaces
330+
*.sublime-workspace

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ The biggest time saver comes when using loops. For example, the following code r
4646

4747
```gcode
4848
N10 G00 X0.2
49-
N10 G00 Y0.1
49+
N10 G00 X0.1
5050
N10 G00 X0.3
51-
N10 G00 Y0.1
51+
N10 G00 X0.1
5252
N10 G00 X0.4
53-
N10 G00 Y0.1
53+
N10 G00 X0.1
5454
N10 G00 X0.5
55-
N10 G00 Y0.1
55+
N10 G00 X0.1
5656
N10 G00 X0.6
5757
```
5858
**Note:** The line numbers are not set correctly, but this rarely causes problems, and can be set corrected your primary G-Code editor.
@@ -62,7 +62,7 @@ But, instead of typing the code above you can enter the following into G-Code Ra
6262
```
6363
@for(int i = 0; i < 5; i++) {
6464
@:N10 G00 X@(0.2+(i*0.1))
65-
@:N10 G00 Y0.1
65+
@:N10 G00 X0.1
6666
}
6767
```
6868
While this may look complex, the examples page in the App explains this in detail and lets you copy snippets to change yourself. It is simpler than it looks!

src/GCodeRazor.sln

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.30309.148
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GCodeRazor", "GCodeRazor\GCodeRazor.csproj", "{94FB3269-CC7C-4412-A35E-6FADF9431B40}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HL", "HL\HL.csproj", "{724C5C4D-0CB9-44BB-969C-632F6BEB83DE}"
9+
EndProject
10+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TextEditLib", "TextEditLib\TextEditLib.csproj", "{220F6F00-DCF0-4DC0-921D-691F6843D45C}"
11+
EndProject
12+
Global
13+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
14+
Debug|Any CPU = Debug|Any CPU
15+
Release|Any CPU = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{94FB3269-CC7C-4412-A35E-6FADF9431B40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{94FB3269-CC7C-4412-A35E-6FADF9431B40}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{94FB3269-CC7C-4412-A35E-6FADF9431B40}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{94FB3269-CC7C-4412-A35E-6FADF9431B40}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{724C5C4D-0CB9-44BB-969C-632F6BEB83DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23+
{724C5C4D-0CB9-44BB-969C-632F6BEB83DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
24+
{724C5C4D-0CB9-44BB-969C-632F6BEB83DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{724C5C4D-0CB9-44BB-969C-632F6BEB83DE}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{220F6F00-DCF0-4DC0-921D-691F6843D45C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{220F6F00-DCF0-4DC0-921D-691F6843D45C}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{220F6F00-DCF0-4DC0-921D-691F6843D45C}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{220F6F00-DCF0-4DC0-921D-691F6843D45C}.Release|Any CPU.Build.0 = Release|Any CPU
30+
EndGlobalSection
31+
GlobalSection(SolutionProperties) = preSolution
32+
HideSolutionNode = FALSE
33+
EndGlobalSection
34+
GlobalSection(ExtensibilityGlobals) = postSolution
35+
SolutionGuid = {04B4012E-075B-410C-BB21-4685FD0EDD43}
36+
EndGlobalSection
37+
EndGlobal

0 commit comments

Comments
 (0)