Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.7.2 #166

Merged
merged 2 commits into from
Mar 22, 2023
Merged
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

Please see [here](https://github.com/hrntsm/Tunny/releases) for the data released for each version.

## [v0.7.2] -2023-03-22

### Added

- Support Rhino PackageManager.
- Show Tunny icon in grasshopper ribbon.

## [v0.7.1] -2023-03-22

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Tunny/Tunny.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<Version>0.7.1</Version>
<Version>0.7.2</Version>
<Title>Tunny</Title>
<Description>Tunny is an optimization component wrapped in optuna.</Description>
<TargetExt>.gha</TargetExt>
Expand Down
23 changes: 13 additions & 10 deletions Tunny/TunnyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,25 @@

namespace Tunny
{
public class TunnyInfo : GH_AssemblyInfo
public class Tunny : GH_AssemblyInfo
{
public override string Name => "Tunny";

//Return a 24x24 pixel bitmap to represent this GHA library.
public override string Version => "0.7.2";
public override Bitmap Icon => Resource.TunnyIcon;

//Return a short string describing the purpose of this GHA library.
public override string Description => "Tunny is an optimization component wrapped in optuna.";

public override Guid Id => new Guid("01E58960-AFAA-48FF-BC90-174FDC4A9D64");

//Return a string identifying you or your company.
public override string AuthorName => "hrntsm";

//Return a string representing your preferred contact details.
public override string AuthorContact => "contact@hrntsm.com";
public override GH_LibraryLicense License => GH_LibraryLicense.opensource;
}

public class TunnyCategoryIcon : GH_AssemblyPriority
{
public override GH_LoadingInstruction PriorityLoad()
{
Grasshopper.Instances.ComponentServer.AddCategoryIcon("Tunny", Resource.TunnyIcon);
Grasshopper.Instances.ComponentServer.AddCategorySymbolName("Tunny", 'T');
return GH_LoadingInstruction.Proceed;
}
}
}
16 changes: 16 additions & 0 deletions Yak/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# How to push PackageManager

- official document
- https://developer.rhino3d.com/guides/yak/

## Summary

1. Build component
1. Update version info in manifest.yml
1. Move some items to package folder like following.
- <img width="200" src="./folder_structure.jpg">
1. Use `"C:\Program Files\Rhino 7\System\Yak.exe" build` command to build yak package.
1. Rename the package to tunny-x.y.z-rh7-win.yak
- Since tunny is not running on rhino6 and mac.
1. Use `"C:\Program Files\Rhino 7\System\Yak.exe" push tunny-x.y.z-rh7-win.yak` command to push the package to Rhino PackageManager.
1. Finish!
Binary file added Yak/folder_structure.jpg
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 Yak/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions Yak/manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: Tunny
version: 0.7.2
authors:
- hrntsm
description: 🐟Tunny🐟 is Grasshopper's optimization component using Optuna, an open source hyperparameter auto-optimization framework. Tunny includes some features such as multi-objective optimization with constraint, Quasi-MonteCarlo sampling and dashboards for results analysis etc.
url: https://tunny-docs.deno.dev/
keywords:
- guid:01E58960-AFAA-48FF-BC90-174FDC4A9D64
- optimization
- Bayesian
- Genetic Algorithm
- GA
icon: icon.png