CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 11:30:41 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"01235a2c1111387fd7746ab984e679c4"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=S3wQWT26gzW2Zw6YM%2BH03%2Bie%2BrVUjHPWTQfURNRiIfcpkEoiHix%2FXK5Qbbbg9c2egMhu11NOo759CV2uULb5%2BjGyQa5D4xkJg4odmyXLe6DoVLwxT%2BDwIeTmL2ITpUZGAP9chQeWhDEHEfjI9BilCZtfTJJGcRsJF04KfKLy4DO07vLrze4UijgBmgFI2ebyrL5nyzZF%2FFYoBREndiPAW8w%2FLzymfvHJo1Nw3tmBxdMwCnUcO0r6483Te3M3Xqwuhp4LC2dCz0eWc%2B04diRmeQ%3D%3D--WukV0K6xoPfa5m%2Bs--bjM6AQO%2FuEyya9E8OU3puA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.289921033.1753615841; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 11:30:41 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 11:30:41 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DC8C:7ADB8:4390EB:5AF59C:68860DE1
ITransformable Interface · DynamoDS/Dynamo Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 658
ITransformable Interface
Michael Kirschner edited this page May 19, 2016
·
1 revision
###ITransformable (In Development)
To use this API one must currently use reflection to determine if the render package implements this interface or not, failure to do so will break your nodes on Dynamo 1.0.!! We are investigating alternatives and will update this space and the API changes doc with updates.
https://github.com/DynamoDS/Dynamo/blob/master/src/NodeServices/GraphicsDataInterfaces.cs#L217
a sample usage from a zero touch node looks like:
namespace ItranfromableThing
{
public class TransformableThing : IGraphicItem
{
public Geometry geo { get; private set; }
public CoordinateSystem transform { get; private set; }
public static TransformableThing byThingGeoCS(Geometry geo, CoordinateSystem cs)
{
var tt = new TransformableThing();
tt.geo = geo;
tt.transform = cs;
return tt;
}
public void Tessellate(IRenderPackage package, TessellationParameters parameters)
{
geo.Tessellate(package, parameters);
//look for the method SetTransform with the double[] argument list.
var method = package.GetType().
GetMethod("SetTransform", System.Reflection.BindingFlags.Public |
System.Reflection.BindingFlags.Instance,
null,
new[]{ typeof(double[]) }, null);
//if the method exists call it using our transform.
if (method != null)
{
method.Invoke(package, new object[] { new double[]
{transform.Xaxis.x,transform.Xaxis.y,transform.Xaxis.Z,0
transform.Yaxis.x,transform.Yaxis.y,transform.Yaxis.z,0
transform.Zaxis.x,transform.Zaxis.y,transform.Zaxis.z,0
transform.origin.x,transform.orign.y,transform.origin.z,1
}});
}
}
}
}
Looking for help with using the Dynamo application? Try dynamobim.org.
- Dynamo 2.0 Language Changes Explained
- How Replication and Replication Guide work: Part 1
- How Replication and Replication Guide work: Part 2
- How Replication and Replication Guide work: Part 3
Clone this wiki locally
You can’t perform that action at this time.