Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielAbalde committed Jan 3, 2021
1 parent 6720755 commit 3641536
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 0 deletions.
30 changes: 30 additions & 0 deletions Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,16 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Canvas_at_16_21_57" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>"..\Resources\Canvas at 16;21;57.png";System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="oie_q8qiIwwK9tN9" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\oie_q8qiIwwK9tN9.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sunglasses" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sunglasses.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="sunglassesBIG" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\sunglassesBIG.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

<h1 align="center"> Sunglasses </h1>
<p align="center"> <img align="center" border="1px" src="Resources/sunglassesBIG.jpg" alt="Img"></p>
<p align="center"> Draw the name (or nickname) of Grasshopper objects, to allow you to use the Icon Mode and have the name visible at the same time.</p>


#### Preview
<p align="center"> <img align="center" border="1px" src="Resources/Canvas at 16;21;57.png" alt="Img"></p>


#### Installation
0) Download the last release of *Sunglasses.gha* from [here](https://github.com/DanielAbalde/Super-Delaunay/releases/tag/v1.0).
1) Unzip file.
2) Make sure *Sunglasses.gha* is <ins>unlocked</ins>, right click > Properties > Unlock (if visible).
3) Copy and paste it in the Grasshopper Libraries folder, usually: C:\Users\\<YourUser\>\AppData\Roaming\Grasshopper\Libraries.
4) Restart Rhinoceros and Grasshopper.
5) Access from Grasshopper Toolbar > Display > Draw Names At Top.

#### Usage
This plugin does not contain any components. Access the user settings from <ins>Grasshopper Toolbar > Display > Draw Names At Top</ins> to enable or disable, change the size of the font and include or exclude objects to display the name.

These user settings are stored in grasshopper_kernel.xml file in the Grasshopper folder, with the prefix "Sunglasses".
<p align="center"> <img align="center" border="1px" src="Resources/oie_q8qiIwwK9tN9.png" alt="Img"></p>

#### License

This project is free software: you can redistribute it and/or modify
it under the terms of the [GNU General Public License](https://www.gnu.org/licenses/gpl-3.0.en.html) as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Binary file added Resources/Canvas at 16;21;57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/oie_q8qiIwwK9tN9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Sunglasses.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,18 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="README.md" />
<None Include="Resources\sunglasses.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\sunglassesBIG.jpg" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\Canvas at 16%3b21%3b57.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\oie_q8qiIwwK9tN9.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

0 comments on commit 3641536

Please sign in to comment.