43 Commits

Author SHA1 Message Date
Adam Hathcock fb415d0416 Fix rhino7 fileio (#34)
.NET Build and Publish / build (push) Has been cancelled
* fix issue with basetype being null

* add Rhino.FileIO properly

* update csharpier
0.3.1
2024-10-10 10:13:02 +01:00
Adam Hathcock b89225ad1b add apache 2 license (#33) 2024-08-13 08:02:34 +00:00
Adam Hathcock 283e98faa0 Revit 2022 (#32)
* Fix building for 2023 revit fakes

* add Revit 2022

* fmt
0.3.0
2024-07-18 08:49:17 +01:00
Adam Hathcock 43b62b7999 fix action 2024-07-12 09:36:38 +01:00
Adam Hathcock b5f0a6e6b6 do main action on release publish 2024-07-12 09:34:30 +01:00
Adam Hathcock 343e627737 Revit 2024 (#31)
* basics for revit 2024

* run generator first time

* copied fill ins from 2023
0.2.1
2024-07-12 09:28:05 +01:00
Adam Hathcock e519034f9c Add more Revit namespaces (#30) 2024-07-03 11:18:46 +00:00
Adam Hathcock 5109b23b84 generate structs as classes (#29)
* generate structs as classes

* forgot a handrolled type
2024-07-03 11:32:36 +01:00
Adam Hathcock 242cf50726 Rhino fakes (#28)
* first pass of making Rhino work: more structs, nested types and some generic work

* ignoring more types to compile

* initial rhino check in.  tabs on revit

* more fixes?

* rerun rhino

* more generic fixes

* more rhino fixes

* add interfaces to structs and explicit interfaces

* fix indexers and add exceptions

* Compiles!

* add more collections and better interface implementations

* add static properties on structs

* add static methods to structs

* Deal with out values and System.Drawing

* fmt

* fix up Revit to have old properties/methods

* rerun revit to be updated
2024-07-02 16:24:56 +01:00
Adam Hathcock 1b31dc18e8 Generate empty constructors for testing (#27)
* fixes

* Generate empty constructors for testing
2024-07-01 14:58:01 +00:00
Adam Hathcock 9e36d2b21c fixes (#26) 2024-07-01 13:45:49 +00:00
Adam Hathcock d60cf47f51 Readd central management and packages for github and nuget (#25)
* Readd central management and packages for github and nuget

* Try to fix references

* fix polysharp

* getting rid of stuff and packable and change host type

* revert to windows requirement
2024-07-01 14:36:40 +01:00
Adam Hathcock d482bf1087 Generate fakes (#24)
* Fake starting to work

* mostly works, need structs and enums

* structs and initial Revit 2023 checkin

* fix up other projects

* Add Architecture

* add Revit UI

* add properties

* add enum names and put in previously ignored virtual methods

* more dealing with vritual/new

* account for non-virtual structs and regenerate revit

* Implement exclusions for types that are too hard

* trying to add constructors

* add static properties but can't be virtual so can't be used

* base constructors and more exclusions

* split things out

* add interfaces and did some implementations

* More fixes and more namespaces

* add non-standard props

* add point clouds and fields for structs

* add exceptions

* generate empty constructors

* fmt
0.2.0
2024-07-01 13:55:55 +01:00
Dimitrie Stefanescu 1f53d60087 adds rhino doc name and layer full path props (#22)
* adds rhino doc name and layer full path props

* formatting?
2024-06-25 20:33:38 +01:00
Adam Hathcock ce34dc650d vertexes aren't nullable (#21) 2024-06-24 12:40:57 +00:00
Adam Hathcock 5d3960e58e More rhino additions (#20)
* add interfaces and fix projects

* more to host

* fix tohost stuff
2024-06-20 12:55:04 +00:00
Adam Hathcock 137c6ac25e add casts to rhino (#19) 2024-06-20 07:35:42 +00:00
Adam Hathcock 72aa048b12 Rhino interfacing (#18)
* add base projects

* curve compiles

* more rhino!

* rename a generic type

* add more types

* update package

* move shared to shared

* more types and helpers

* can read everything?

* Started construction

* more additions

* include rhino correctly

* add transform

* all types implemented

* move some and format

* remove proxygen

* remove options as they're always the same

* more cleanup and remove IProxyMapper from host api

* fmt
2024-06-19 14:58:47 +01:00
Adam Hathcock c3e27793cb More Revit updates: Use Polysharp, record and helpers for Casting and Calling (#17)
* Use Polysharp, record and helpers for Casting and Calling

* fmt

* centrally manage poly sharp
2024-06-17 08:43:57 +00:00
Adam Hathcock db675991ff Update proxy gen to have better static config (#16) 2024-06-14 12:21:48 +00:00
Adam Hathcock a87a39c7dc Make IProxyMapper to wrap the source gen ProxyMap (#15) 2024-06-14 07:29:48 +00:00
Adam Hathcock 22235f2927 Use new ProxyMap that is source gen (#14) 2024-06-13 15:39:27 +00:00
Adam Hathcock e37d05cdc7 More revit fixes - more castings (#13)
* More castings

* fmt
2024-06-13 13:39:22 +00:00
Adam Hathcock 6c120d5bc6 Even more revit fixes (#12)
* get parameter should null check

* get element can be null

* add more to proxy map
2024-06-13 13:57:45 +01:00
Adam Hathcock 75c3e62d7e More fixes for Revit. (#11)
* Fix enum utility

* add to level

* Fixing location conversions?

* location is better handled?

* more brute force conversions

* filter fixes and moving of proxymap

* add unmap to proxymap

* fmt
2024-06-13 07:52:21 +00:00
Adam Hathcock 4200df0178 add enum utility to handle duplicates but allowing conversion (#10)
* add enum utility to handle duplicates but allowing conversion

* fmt and tests
2024-06-12 12:20:51 +01:00
Adam Hathcock 628c6b4f8f more-revit-fixes (#9) 2024-06-11 16:02:26 +00:00
Adam Hathcock b629dc6721 add isclosed (#8) 2024-06-11 14:14:36 +00:00
Adam Hathcock b90ed44ac7 Remove extension method (#7) 2024-06-11 13:01:24 +00:00
Adam Hathcock f76714132d More revit (#6)
* more revit api

* add IRevitFamilySymbol

* converting more basic types

* all basic converters done

* fix points

* extensions and helpers done

* finished Raw

* first pass done?

* fmt
2024-06-11 11:16:05 +00:00
Adam Hathcock b33487a40d Fix nuget dependencies (#5) 2024-06-07 11:29:48 +01:00
Adam Hathcock 6f32921f57 add nuget push (#4) 2024-06-07 10:43:08 +01:00
Adam Hathcock eb555b49e8 Initial test fixes (#3)
* make unit utils available

* fixes from initial converters

* fmt

* fix up builds

* fix GA

* forgot we're building on windows

* oops use powershell
2024-06-07 10:31:22 +01:00
Adam Hathcock 79a6e15210 fix calling workflow on main (#2) 2024-06-06 13:02:54 +01:00
Adam Hathcock 706b788177 Add CI build (#1)
* add package management and build

* add GA workflows

* add build files

* change build permissions

* add MinVer and GitHub source link

* get packing right
2024-06-06 12:08:19 +01:00
Adam Hathcock f33df66c0d collection changes aren't liked 2024-06-06 11:17:53 +01:00
Adam Hathcock 36f7f4bd3d readme and clean up 2024-06-06 11:08:31 +01:00
Adam Hathcock 5ba0a5d19e fix namespaces 2024-06-06 10:35:04 +01:00
Adam Hathcock 1a3a35b753 add Revit2024 2024-06-06 10:29:53 +01:00
Adam Hathcock da8b6cd2d3 move things around to account for different verisons 2024-06-06 09:52:21 +01:00
Adam Hathcock 573f6f22a1 move api to be verison specific 2024-06-06 09:04:53 +01:00
Adam Hathcock 475d8d889e Initial check in of used types 2024-06-06 09:03:39 +01:00
Adam Hathcock 2e9e170cc8 Initial commit 0.1.0 2024-06-06 08:58:48 +01:00