developer maker musician

Monday, February 8, 2016

How to Embed a Power BI Report Into Any Website

Power BI just enabled the ability to embed a report into any website without requiring the viewer to authenticate – it’s called “Publish to Web”. It’s really easy to get the embed code. Here’s how:

Create a Power BI report at http://app.powerbi.com. For this post I just used the “Get Data –> Services –> Samples –> Customer Profitability Sample” that is included with every Power BI account.

image

Open the report and click on the File menu item and select “Publish to Web”

image

You will get two prompts. The first one is informational. Click “Create embed code”

image

Make sure you read all this text and click Publish

image

You will then see a dialog that contains the HTML embed code that you’ll need to copy and paste into your website

image


I copied the embed code into this post below.   I hope this helps you out.




Jon

Sunday, February 7, 2016

How to Trim Off the Bottom of a 3D Print with Simplify3D

I’m printing out part I found on Thingiverse and the bottom of it has some inset text.  I would rather the entire bottom of the piece be flush with the print bed. Instead of trying to modify it in Fusion 360, I’m going to use Simplify3D to tell my Dremel to start printing the model after the inset.


Here’s what the bottom of the model looks like:

image

As you can see, that inset text prevents the part from sitting completely on the bed.  It will actually print fine, but I would just prefer it sit flush.  It won’t have the nice bevel on the top, but that’s okay with me.


The first thing you have to to is find out how far inset the text is by using the cross section dialog in Simplify3d

image

You will see below that I moved the Z-Axis to .50mm and I can see through the text.


image


If I bump that up to .51 the text holes are filled in:

image

That means that the text is inset .50mm and I need to start my print at .51mm.


I then go into my Process settings –> Advanced Tab and check “Start printing at height:” and set it to .51mm

image

I then click on “Prepare to Print” and slide to the bottom layer. As you can see the text isn’t there and my print will sit flush on my print bed.

image


Jon

Dremel Idea Builder 3D Priting Tips

81K-d8XTG8L._SL1500_Here are some tips for using the Dremel Idea Builder 3D Printer.  I will keep this post updated with new tips as I learn more about the machine. A lot of these tips apply to any 3D printer, so it’s worth a read even if you don’t have the Dremel. See my How to Get Started with 3D Printing on a Thousand Dollar Budget post for details on my 3D printing setup.

Setup tips

1. Make sure the 3 blue wheels are screwed onto the bottom of the build plate. One of my wheels was off when I unboxed it and I didn’t know what it was for. I left it off when I did my first level and that caused the hot-end to poke a hole into the bed.  So, screw on all 3 of the wheels and put the bed in the lowest position before you start to level it.  Here’s the quick start guide and a video that shows you how to level it. Here's another video from Dremel that is good:

2. Make sure the printer is on a stable and level surface. I have mine on a window sill that is very stable.

3. Connect the printer to your computer via USB so you don’t have to keep moving an SD card from your computer to your printer.


Printing tips

1. Whenever you switch filaments, make sure you run the LOAD process twice. You want to see the new filament come through the hotend for a couple of seconds before you start your next print.  If you don’t do this, then the extruder won’t be primed enough; your next print won’t have enough filament to get started.

2. Clean the bed with rubbing alcohol before each print. This will help the print stick to the bed and will remove any residue from the previous print. Just put a double folded paper towel on the bottle and turn the bottle over once or twice, then wipe the bed with it.  Make sure it is dry before you start the print.

3. Not all prints will stick to the bed. Make sure you watch the first couple of layers print before leaving it alone to print the rest of it. If those first couple of layers don’t print then the rest of the print won’t have anything to stick to.

4. Besure to let enough plastic extrude through the hotend when switching plastic. If you don’t then your first print with your new plastic won’t stick to the bed.

5. Print with a skirt to get an early indication if the print is going to be a good one or not.

6. Level your bed before you print, especially on a longer print. 

7. Level with a cold hotend (if you can). The distance between your hotend and bed will change based on the hotend temp.

8. Get a thin paint scraper tool to help you remove the print from the bed.  I prefer that over printing a raft and then trying to separate the raft from the print. Becareful not to gough the print bed tape.

9. Get some wire cutters to cut the filament and some needle nose plyers to remove support material.

10. When unloading filament don’t pull up too hard. If you are having trouble getting the filament out of the extruder, just push down on the filament, into the extruder, to heat up the end and then pull up.  That will melt any rough edges and it should come right out.


Jon

Saturday, February 6, 2016

How to Setup Application Insights in an Azure WebJob

I just spent way too much time getting AppInsights working in an Azure WebJob. 

Here are a couple of tips:

1. Make sure you are using the right InstrumentationKey. Go here to find out how: https://azure.microsoft.com/en-us/documentation/articles/app-insights-start-monitoring-app-health-usage/


2. Make sure you programmatically set your InstrumentationKey (Also store it in Azure app settings in case you need to change it.




3. Make sure you call Flush after you write any events



4. Install the following Nuget packages



5. Make sure you do not have an <InstrumentationKey> element in your ApplicationInsights.config file

Tuesday, February 2, 2016

Solution to Simplify3d error "The chosen layer height and extrusion width settings have resulted in a primary width/height ratio below 1.2. This is typically not recommended and may cause poor layer adhesion."

I got this Simplify3D error while setting up a multi-process print.

“The chosen layer height and extrusion width settings have resulted in a primary width/height ratio below 1.2. This is typically not recommended and may cause poor layer adhesion.”


unusual width


I think this has to do with having multiple Process Settings with different layer heights that won’t successfully merge together on their own.

I fixed it by going to the Process settings (double-click the setting).

image

Set the Extrusion Width to Auto.  If you have more than one process setting, then set them all to Auto

image


Jon