Forge Viewer - Markup - Editor - autodesk-forge

Can someone share markup editor extension written in javascript/typescript. I got an example, which is below, but it is written in React, which I don't know.
https://forge-rcdb.autodesk.io/configurator?id=598d7ec14cabf2c1f4dec948
Much appreciated,
Thanks

You may checkout the mirror version of the v6 and v7 markup tool extension (and measurement), with webpack build script:
https://github.com/wallabyway/forge-markup-measure-extensions
and it's https://github.com/wallabyway/forge-markup-measure-extensions/blob/master/Markup/gui/MarkupsGui.js
See also here: Where Can I found docu for Autodesk.Viewing.MarkupsCore extension?

Related

Github Source code of demos in "Forge | RCDB" are not found

I'm looking for source code of Forge demos. I click github icon of some demos but not found. Does anyone know the link for the source codes?
https://forge-rcdb.autodesk.io/configurator
In addition, some demos are broken and doesn't work properly.
For example, this.
https://forge-rcdb.autodesk.io/configurator?id=5a361b2b58144b5ed2936ddf
Even I click the object, nothing show up.
Is this https://github.com/Autodesk-Forge/forge-rcdb.nodejs the source code which you are looking for?

Is there a way to open HTML revealjs slides in VS Code?

I am giving a presentation in which I need to have my code editor open alongside my HTML slides. Since I have the VS Code editor configured the way I need, it would be nice to have a way to display the HTML slides in the VS Code editor itself.
I strongly suspect this is possible, because VS Code is a very powerful editor with several extensions and features. I have tried installing an HTML previewer from the marketplace, but that could not load all the dynamic content of the slides. I also tried the VS Code reveal extension, but that did not work for me either.
Is there an alternative way to do this? Any help will be highly appreciated.
Live Server VS Code add-on launch a local development server with live reload feature for static & dynamic pages; the reveal presentation is automatically rendered each time the edited code is saved on the VS Code side (Control+S).
There is an unreleased version yet that does not require saving to see the changes...truly live.
It is a workflow that makes it much easier to check changes before publishing them. Combined with the possibility of editing the html front-end of the presentation generated by Live Server, with the browser's Dev Tools, a very dynamic environment is created.

MvvmCross Split view with Storyboard SplitViewController

I am looking for an example of how to use the IOS Storyboard SplitView controller with MVVMCross. I have looked at the samples in the MVVMCross playground, but these do not use the storyboard file.
Can anyone help with a pointer to a good example. All information seems to be around 2013 and the examples are too old for the current version of the framework.
Thanks in advance.
The Playground sample in the main repository has some good samples on using Storyboards.
https://github.com/MvvmCross/MvvmCross/blob/develop/TestProjects/Playground/Playground.iOS/Views/ChildView.cs#L10
Documentation is also available on the website: https://www.mvvmcross.com/documentation/platform/ios-user-interfaces-approaches#storyboards

Polymer in a Chrome packaged app

With the new Material Design released by Google and Polymer being one of the best, if not only, libraries to create such a design with ease, is there anyone to develop a Chrome Packaged App using the library to get the Material Design look it provides? Currently, it gets scripted block by Google's very strict CSP
Check out Vulcanize: http://www.polymer-project.org/articles/concatenating-web-components.html
It's a build tool for crushing HTML imports into a single file. It also has a --csp option that moves <script> into its own file. This will make CSP happy.
We're working on a template for Polymer Chrome App in the Chrome Dev Editor:
https://github.com/dart-lang/chromedeveditor
I'll update this thread once the template is available. This should make Polymer dev in a Chrome app a lot easier.
Here is another option.
If you're big fan of Dart language, you can use https://github.com/sunglim/csp_fixer package.
This package has a function to strip <script/> and create external js file.
Investigating ebidel response about vulcanize, I found that polybuild could be even more easy if you dont want so many extra options.
https://www.polymer-project.org/1.0/docs/tools/advanced#build
Also found this project on github that uses vulvanize with --csp option.
https://github.com/PolymerLabs/polymerchromeapp

How to save files using devtools autosave while working on localhost

My website files are stored in c waamp www folder and i use devtools autosave to update my css file. But its not working while working on localhost. What do i need to do to make it work with localhost?
I suppose this will help you out
since Google Dev Tools version 28 you will not need the extension "Autosave" anymore.
It has been substituted by Google Web Tools Workspace.
If you want to understand how to use Google workspace, you can ckeck-out this link:
Live edit CSS and JS with Google dev tool
The only big limitation is that with google dev tools you can't edit DOM elements directly in the "elements" panel, neither the inline style definition.
However I found a better way for doing it;
There is an extension for Google Chrome that combined with an Intellij Idea plugin makes you live editing HTML, CSS, JS and it work amazingly.
It is probably better than using Google Dev Tool. The only disadvantage is that you cannot inspect the elements you are editing in the browser itself but you can obviously do it in your IDE which is even better.
I documented the process here if you want to take a look:
Live edit CSS-HTML-JS with Intellij Idea
Luca