fusion 360 how to add lip in a curved surface - fusion360

I have shelled box, and I used a shelled cube to "cut" a lid or door into it. Something like this :
I want to add a lid along the border of the cut. That stays inside the body and allows the lid to sit agains it. I found no way to add an sketch into the curved surface..
I can add an sketch to the flat surface of the cut.. but if I would cut the doot using a cylinder or another "curvy box" like the main one.. them I'd be unable to find a flat surface where lay my thing..
How can I do that? A lid of 2 mm deep, that enters 2mm into the hole, along the cutting path. Any idea ?
EDIT:
As mentioned, I managed to do it on ONE surface, just because is flat and hand drawing most of the thing.. here is how it look like, not totally bad, but I guess there is a way to just go along the border of the cut ..
I also managed to draw a profile and use "SWEEP" to have the lip around ONE edge, but no along them four and the corners get rather tricky ..

Related

How to make normal borders of areas in Inkscape?

I'm making in interactive map of Russia. I need to select its regions on the picture for I can work with them. But it works incorrectly. When I try to select first region it's okay. But then I try to select another adjacent region just making new levers to existing contours. After I close the path, I want this region to become the full second area in the picture. But when I try to highlight this area, it turns out that Inkscape doesn't count this as an area. It believes that this is just a new open line. It turns out that a new area has not formed.In the picture you can see that the boundaries of the area are not highlighted everywhere, therefore the area remains open (it is not an area at all, it is a piece of a broken line)
You're using the wrong kind of object for your work. What you need is indeed a set of closed paths, but what you have is the borders only.
The easiest way to convert one into the other is to:
make sure all the separate borders touch at their ends
select all the separate borders
Path > Combine them into a single path
put a large rectangle below this combined path that covers the full area below
select both
Path > Division
Now you should have the lines cut through the rectangle.
Remove the parts you do not need, and close any gaps that are left.

geom_tile border outline but no tile outline

Relatively simple question: for a plotted set of data, I'd like to outline a relevant region while not outlining every tile. See picture below, where I want to have an outline around the orange region without outlining every individual tile (which is what happens if I set the "colour" command within geom_tile to something
Map with relevant data in orange

How can I created a curved health bar?

I'm making a game with a health bar and I am trying to make a health bar that is curved.
Currently I have a lineBar that has 20 segments that looks like this at the bottom left of the screen.
What I'd like to do is write a function that goes through and modifies the scaleY of each to get a curved bar.
I can easily scale them down in a straight line. So that it looks triangle ish.
I want exponential decay.
In normal math terms it might be something like y = Pa^x.
I developed a game with a curved health bar a while back, this is how I achieved it:
Step 1:
Create your curved bar. I suggest the Oval Primitive tool:
Draw your bar. I suggest creating a guide layer to demonstrate a whole-circle visual of your curved segment. Copy the bar onto another layer and make it a mask, this will be what reveals your healthbar. The mask and the segment should be MovieClips:
Step 2:
Set the registration point of your mask to the centre of your guide circle. Your mask will rotate around this point to reveal your actual bar. Rotate your mask so that it is to the left of your actual bar graphic:
Step 3:
Create a tween of your mask rotating clockwise across 100 frames (add more frames for finer progression). You can even apply a tween to your bar graphics where the colour changes from red to green as it fills, etc.
Step 4:
Use gotoAndStop() on this element to determine which frame you should stop on throughout the animation. The formula I use here is generally:
gotoAndStop( Math.round( currentHealth / maxHealth * x ) );
Where x is the amount of frames you created.
Hope this helps.

HTML5 Canvas (or alternative): Moving lines to simulate meridians on a planet

This is my firs excursion on the HTML5 canvas, I have working knowledge of jQuery and Javascript.
I'm trying to create a "spinning globe" effect with it.
The idea is to have a circle and meridians "spinning" on it, to give the effect of a rotating globe.
I've drawn the circle and now I'm trying to create lines that start from the right (following the curve of the circle), move towards the centre straightnening up (in the middle they are straight) and follow the inverse curvature on the left, ending with the circle.
I'm trying to do this with the HTML5 canvas and jQuery but I'm not sure of where to start... should I create an arc and then try to animate it?
I'm even wondering if the canvas is the right tool or if I should use anything else.
Any suggestion is welcome!
Sebastian
You could use a quadratic bezier curve, which is basically just a curve with a start point, an end point, and a "control point" in the middle, which is what you would want to change as the globe spins. In this case, all of your lines would start and end at the north and south poles, respectively, of your "globe". For example, to make one of these lines:
// start drawing a line
canvas.beginPath();
// move the the top of your globe
canvas.moveTo(0,0);
/* draw a curve with the control point specified by the first two args,
* end point by the second two:
* (in your case, the control point would be in the middle of the globe) */
canvas.quadraticCurveTo(control_point_x, control_point_y, 0, 50);
// finish drawing, stroke and end
canvas.stroke();
canvas.closePath();
You would also have to take in to account how you will clear the lines after each frame, of course.
See: The Canvas element API, Complex Paths
This is what I got, didn't have the time to proceed any further: http://jsfiddle.net/Z6h3Z/
I use bezier curves where the two control points are in a sort of oval arc centered at the poles.
What I got stuck at is the distribution of points along the arc to look more realistic.

Force chart labels to remain inside frame

RS2008 - pie chart
I have 'outside' labels with lines pointing to the segment (although strangely this only appears to work in pdf output)
However (see pic below) the label is appearing outside the scope of the chart area
How can I force it to remain inside? (MinimumRelativePieSize is set to 70)
(pic below missing due to not being able to find an image host that isn't blocked by corp firewall)
Picture a pie chart of 25 slices, with radial lines that project through the sides.
The line from each slice then becomes horizontal, before disappearing outside.
(above actually fits tune of "Lucy in the Sky with Diamonds")
I set MinimumRelativePieSize to 50 and it seems to work ok.
I guess they need to implement a MaximumRelativePieSize property.