Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 days ago.
Improve this question
I've tried to search this one everywhere, but still can't find an answer.
Basically I'm trying to figure out how this extension works, since examples with C# are non existent and I'm also a bit noob.
This is the extension:
https://marketplace.visualstudio.com/items?itemName=AdamWulkiewicz.GraphicalDebugging
I'd need that to visualize simple 2d geometric objects while debugging.
I've not tried much tbh.
But I was expecting that for example an instance of an array like [2,2] would be interpreted like a point of coordinates x and y. Obviously this doesn't work.
What am I missing? Does someone have experience with this extension and can give me some advice?
Thanks in advance!
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 days ago.
Improve this question
I am trying to create a piece of software than can manage your computer and clean some things up, and one of the things I am trying to incorporate is adblocking.
I have looked online multiple times for something like this, but haven't found anything. The most I amounted to is the webbrowser class.
If someone could help me discern how to change an html file using the webbrowser class, that would be greatly appreciated.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I need to find "exterior wall facing" in c# revit API...please help me. I want the wall facing.. the wall is in which facing like southEast, southwest, northeast, northwest.
I have referred this link
https://thebuildingcoder.typepad.com/blog/2010/01/south-facing-walls.html
i have use the math.abs(AngleToSouth) * 57.2958=angle in degree
57.2958 is redian
but not getting
thank you
Please always perform some minimal research before asking a question.
One of the places to look for answers to Revit API questions is in the sample collection included with the Revit SDK.
In this case, the sample DirectionCalculation demonstrates exactly what you are asking for.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
My adviser told me to use Accord Framework for C# to extract features and patterns from images. Our project is about image analysis and comparison of tobacco leaves. Does anyone here have an idea on how to do it? Thank you.
This is pretty high level stuff, but from what I've learned in my time faffing with it, I'd use the Accord.Imaging library to scan your pictures. Followed by using the Accord.Neuro namespace to "learn" from some manual data you feed into it.
Seems your goal is to create a program that scans images quickly, gleaning only the useful data from the full image, and then checking for some particular features of the image. I've never used the library, but it looks like it'd be possible to use it.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I create a function in c# to query ikea tradfri, here the result :
"<//15001/65536>;ct=0;obs,<//15001/65537>;ct=0;obs,<//15004/136834>;ct=0;obs,<//15005/136834/217609>;ct=0;obs,<//15005/136834/218326>;ct=0;obs,<//15005/136834/224384>;ct=0;obs,<//15005/136834>;ct=0;obs,<//15001>;ct=0;obs,<//15001/reset>;ct=0,<//status>;ct=0;obs,<//15005>;ct=0;obs,<//15004>;ct=0;obs,<//15004/add>;ct=0,<//15004/remove>;ct=0,<//15006>;ct=0;obs,<//15011/15012>;ct=0;obs,<//15011/9034>;ct=0,<//15011/9030>;ct=0,<//15011/9031>;ct=0,<//15011/9063>;ct=0,<//15011/9033>;ct=0,<//15010>;ct=0;obs"
Now I need to isolate everything that start with //15001/
I try JavaScript serializer or Newsoft but I don't achieve to get everything in order to go through.
Do you have tips to deserialize this kind of data in c# ?
thank for your help !
It looks like you are trying to query a CoAP service/endpoint. Awesome stuff, fortunately theres already open source implementations of the CoAP standard, including resource parsing, URI resolution, among others.
Here's a C# library that's linked from the CoAP Wiki page
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am implementing 2d-bin-packing algorithm in canvas. My task is to place rectangles as optimal as it can be on a canvas.
the following shows how to do it:
http://incise.org/2d-bin-packing-with-javascript-and-canvas.html
BUT, it starts with the origin. I would like to tell the algorithm where to put a rectangle and that the next one not to be on top of him.
What should be changed in the code?
Is there another algorithm to use for it?
I know a better algorithm(in terms of compactness, not speed) than the one you linked to is called MaxRects.
This was my implementation of it in C++. While not fast, it was very effective at packing compactly.
This is a pdf discussing and comparing all sorts of algorithms in terms of both time and compactness.
EDIT:
I threw together an example of an image packed using MaxRects .