The section box is currently not able to be rotated natively (as I see it at least). Because very few models/objects are actually placed perpendicular to X/Y I have been trying to look into a method for doing this.
Does anyone know of a method for doing this?
Anyone know if this is something that are being considered implemented in the near future?
It would be nice to include the rotation gizmo from the normal section plane, or have the box natively be added to follow the orientation of the face selected when creating it through the viewer UI.
Thank you in advance
Rotating the section box is not possible today, and as far as I know there are no plans for that, either.
Depending on what your exact use case is, you could potentially achieve what you need by rotating the model (using model.setPlacementTransform(xform)) and not the section box.
Related
I've been trying to create a rectangular prism as indicated from here:
(example) http://desandro.github.io/3dtransforms/examples/box-02-show-sides.html
There's also a tutorial page.
but these are my results,
http://codepen.io/anon/pen/qFdiu
I don't know what is wrong here.. sometimes when I check a preview in chrome, it will animate, but not in the right place, the prism won't be in its container and it won't transform on the correct origin, i.e. like flipping a block on the floor it will move over, instead of being in its original place but on a different face. I've even tried copying everything from the tutorial but can't find out the fault. I am pretty new to webdesign. Would appreciate any help :)
I'm stuck on being unable to rotate the text in an access report. I currently have an excel spreadsheet that I'm basing the Access Report off of. The Report has to look as near to the exact same as the Excel Spreadsheet as I can make it.
I've looked all around and haven't been able to find any solutions that work or even look halfway decent.
All I need to do is rotate about 15 labels 90deg counter clockwise. What kind of solutions can I use to achieve this?
The easiest way I found around this was to simply use photoshop to create the header labels and rotate them into the necessary positions I needed.
There is a "Vertical" property for labels, see MSDN. However, it does only clockwise rotation. I'd wish to find a solution to make a counter-clockwise rotation too.
I have an idea that I would like your input on how it can be achieved. Essentially, I would like to have a page where page elements would be responsive and animated. Let me give you an example - let's say I point my mouse over a button or an image and it would play an animation like http://hakim.se/experiments/html5/magnetic/02/ around it while mouse is pointing over it, fading away if I point away from it.
Alternatively, it would be cool to have something like http://hakim.se/experiments/html5/trail/03/ flowing from current mouse position to the element that I would like to draw user's attention to. I have little idea on how this can be implemented, thinking that creating a overlay and using element's coordinates would be most appropriate but not 100% it can be done this way. Do you have any recommendations or suggestions on best practices, existing libraries / frameworks that may assist me with this?
Thanks!
I am writing a custom application in C using GTK+2.0 and Cairo. Just for learning purposes (and if successful, then for deployment), I wish to recreate something similar to a overlay toolbar/widget (I am sorry if the terminology is not correct) that appears when a mouse moves over a given area on the window, and disappears when the mouse moves away. The toolbar, as I imagine, should appear on top of the existing widgets without displacing them or altering the widget packing in any way. Is it possible to accomplish? If yes, can you please point me to relevant tutorials/examples and/or outline a way to do the same?
Thanks in advance.
Not sure this is easily doable in GTK2. However, I learned recently that there's the GtkLayout widget which allows pixel exact rendering of widgets, so you can even display some widgets over others. Or you may implement your own container widget.
Please note that since GTK3, there's GtkOverlay which seem to do what you want.
You may also give a look to Clutter, which might allow this. Furthermore, there are projects of merging GTK and Clutter for GTK 4.
The little known GtkHandleBox is capable of doing what you want. I must warn you it is deprecated in GTK+3 because is going against the usual UI direction. Also, the correct positioning will be subject to the windows manager quirks, so I'd expect some issue in this regard.
I have a picture that I need to resize to a specific dimension and then move one of the corner to a place higher than before so the image is not rectangular anymore but some kind of polygon. Is there a library that could help me with this kind of image manipulation or does someone knows the name of this operation?
This is for a .NET application and there is an option for a six-points area also.
Have a look at here
Anti-Grain Geometry is an interesting graphical library. There is also a .NET wrapper called CreativeDocs.NET.
I don't know if it can help for certain but you might want to look at CxImage:
http://www.xdp.it/cximage.htm